Overview
ht is a headless terminal daemon. It owns a pseudo-terminal per session and parses output with the same VT engine Ghostty uses. The tool can launch a TUI, send keystrokes, snapshot the rendered screen, and block until a screen condition is met. It is intended for target programs that draw to the alternate screen, use (n)curses, or read $TERM; that need real keystrokes such as arrow keys, <C-c>, or <F5> rather than just stdin text; and where inspecting the rendered screen state is required instead of the raw output byte stream. ht is installed via Homebrew or a tarball and supports macOS (Apple Silicon) and Linux (x86_64/arm64).
Pricing
Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.
Visit WebsitePrices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.
Use Cases
- Teams use ht to launch a TUI and interact with it programmatically.
- Teams use ht to send real keystrokes such as arrow keys, <C-c>, or <F5> to terminal programs.
- Teams use ht to inspect the rendered screen state of terminal applications.
- Teams use ht to test programs that draw to the alternate screen, use (n)curses, or read $TERM.
- Teams use ht to block until a screen condition is met.
- Teams use ht to snapshot the rendered screen.
Features
Controls interactive terminal programs headlessly
Operates through the ht CLI
Drives curses based applications
Handles interactive CLI installers
Interacts with terminal REPL sessions
Controls terminal editors such as vim
Reviews
No reviews yet. Be the first to share your experience!