Hacker News new | past | comments | ask | show | jobs | submit login

Are there any terminal UI frameworks for the web? I want to create web apps that only use keyboard shortcuts.



Not exactly what you're looking for, but there's Shell in a Box (see https://github.com/shellinabox/shellinabox), that can create a terminal on a web page, and expose an actual terminal application running on a server.

One thing that is certainly doable is also to use a standard TUI framework in another language (there are many of them, e.g. https://github.com/magiblot/tvision for C++, https://github.com/charmbracelet/bubbletea for Go, etc.), compile it to WASM, and find how to bridge the WASM output to the browser (I've seen this: https://github.com/cryptool-org/wasm-webterm, but never tried it).


Shellinabox doesn’t seem to have a lot of development. Try ttyd instead

https://github.com/tsl0922/ttyd


Looks nice, thanks for sharing!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: