Show HN: Build CLI apps with Ink that run in the browser
ink-web.devI built Ink Web as a way to bring Ink CLI apps into the browser. This way you could take an app like Claude Code and make it run in both the terminal and the browser. (After you polyfill or replace Node.js-specific APIs.)
This started as a side project to build an open-source CLI-based AI agent that could run in cross platform environments like Tauri.
Currently it uses Xterm.js, but there’s a PR demoing that it also works with https://github.com/coder/ghostty-web.
There's also a library of UI components installable via shadcn.
This builds on top of Ink and bundles it. I chose to bundle Ink instead of rewriting it since Ink is already a mature library with considerable momentum behind it.