What problem does it solve?
Hex1b removes flaky, manual testing and demo recording of terminal-based apps by letting you programmatically control interactive programs, inspect what they render, and wait for specific output reliably.
Core Features & Use Cases
- Virtual terminal automation: Start TUI apps, shells, REPLs, and interactive CLIs inside a headless virtual terminal for repeatable runs.
- Screen capture for verification: Capture terminal output as text, ANSI, SVG, PNG, or HTML to create assertions and visual evidence.
- Deterministic interaction: Inject keyboard and mouse input and use wait/assert operations to avoid timing issues.
- Workflow examples: End-to-end scripted tests for interactive UIs; capturing recordings for demos; validating that expected menus, errors, or prompts appear.
Quick Start
Start a process in a virtual terminal and then assert that the expected text appears before sending any input: run dotnet hex1b terminal start with a command, then use dotnet hex1b assert on the returned terminal id with the target text and a timeout.