hottyHTML over the TTY

☰ Contents · Start › Choose a host

Choose a host

A host is the terminal (or proxy) that parses OSC 7279 sequences and renders surfaces. At startup, a hotty program probes the terminal for host support and falls back to plain character cells if none is present.

Host Platform Rendering
hottyterm macOS (Apple silicon), Linux (x86_64) Native GPU compositing at display resolution
Browser (xterm.js) Any web page using xterm.js Sandboxed <iframe> per surface
hotty run Kitty, Ghostty, WezTerm (Kitty graphics) Rasterized images (no text selection; fixed zoom)

hottyterm and xterm-addon-hotty are independent implementations that both pass the host conformance vectors. hotty run reuses hottyterm's hotty-blitz renderer.

Version compatibility

A hotty 0.10 program requires a 0.10 host, or a 0.9 one, since the official hosts and SDKs speak both. If a host only supports an older version, such as 0.8, the probe falls back cleanly to character-cell rendering.

Touch, touchpads and pens

hotty 0.10 adds the kind of pointer, a drag per finger, two-finger gestures, and the wheel in pixels (Pointers and touch). What each host does with them depends on its platform:

hottyterm on Linux (GTK) hottyterm on macOS Browser (xterm.js)
Touchscreen each finger on its own, gestures — (no touchscreen Macs) each finger on its own, gestures
Touchpad pinch a gesture, pointer "mouse" a gesture (magnify and rotate), untested Ctrl with the wheel, as the browser reports it
Touchpad scroll wheel with precise, from GTK's scroll events wheel with precise and the trackpad's phases, untested wheel, precise guessed as browsers do
Pen pointer "pen" pointer "pen" for a tablet's pen, untested pointer "pen"
pointer and hover media from the seat's devices a trackpad's: fine, hover the browser's own

On macOS, the trackpad and pen support is built but has not yet been tried on a Mac.

hottyterm

hottyterm is a fork of Ghostty with hotty-blitz built in. Surfaces render alongside terminal text with full zoom sharpness, theme matching, and selectable text. Typing in inputs, hovering, and scrolling happen locally in the terminal without round-tripping to the program. On Linux it takes touchscreens and touchpad pinches; on macOS, trackpad scrolls and pinches (not yet tried on a Mac).

brew install --cask neuroplastio/tap/hottyterm   # macOS (Apple silicon)
yay -S hottyterm-bin                             # Arch Linux (x86_64)

For other Linux distributions and Ghostty configuration options, see Installing hottyterm.

A browser

xterm-addon-hotty adds hotty support to xterm.js. Each surface renders in a sandboxed <iframe> aligned to the terminal's cell grid, working with both WebAssembly programs and remote PTYs over WebSockets. On a phone or tablet, each finger drags on its own and two fingers make gestures. A touchpad's pinch reaches the page as Ctrl with the wheel, so a canvas hears it as a wheel event, not a gesture.

npm install @neuroplastio/xterm-addon-hotty @xterm/xterm

hotty.neuroplast.io runs this way. See Using the addon for setup and security options.

Any terminal with kitty graphics

hotty run (from hotty-blitz) is an experimental PTY proxy for terminals supporting the Kitty graphics protocol (Kitty, Ghostty, WezTerm, etc.). It intercepts OSC 7279, renders surfaces offscreen with Blitz, and forwards them as Kitty graphics images:

hotty run -- python3 examples/dash.py
hotty run -- ssh server program   # host runs locally; server needs nothing installed

Clicks, keys, and scrolling still reach surfaces, but rasterized images cannot be selected as text and blur when zoomed. The terminal underneath reports only a mouse, so programs get no fingers or gestures there, and the wheel comes in notches. hotty run is currently built from source; see Try it.

Without a host

In any other terminal—or when stdout is piped—the startup probe detects no host and SDKs automatically render plain text or character cells. See Degrading for details.

Loading hotty-demo…