randallb.comRandall Bennett

Projects

Ink on Deno

A terminal chat interface exploring React and Ink on Deno, including packaging as a standalone executable.

Experiment

What you can explore

Try streaming replies, multiline drafts, history navigation, and terminal resizing using a synthetic conversation. The demo has no service connection. Unicode widths, complex emoji, long drafts, and tiny terminals need more work.

Enter adds a new line, Ctrl-E sends the draft, PageUp and PageDown browse history, and Ctrl-C exits. The packaging experiment targets macOS arm64.

Run it locally

Requires Deno 2.9+; macOS and tmux for full terminal tests. Commands run from the extracted bundle’s root.

cd experiments/ink-deno
deno task demo

See the README for complete commands, checks, and limitations.

Inspect and build on it

The source is hosted here as readable files and a downloadable bundle, with its original attribution and a standalone setup. The machine-readable manifest lists every file and its SHA-256 hash.

Apache License 2.0; see the included LICENSE and attribution files.