3 ms·
Are there any terminal UI frameworks for the web? I want to create web apps that only use keyboard shortcuts.
by username3 2y ago
Are there any terminal UI frameworks for the web? I want to create web apps that only use keyboard shortcuts.
- ale42 2y agoNot exactly what you're looking for, but there's Shell in a Box (see https://github.com/shellinabox/shellinabox 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 https://github.com/magiblot/tvision for C++, https://github.com/charmbracelet/bubbletea 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 https://github.com/cryptool-org/wasm-webterm, but never tried it).