cljs-tui-template
cljs-tui-template copied to clipboard
cross-cli-browser apps with TUI+Xterm.js
Per conversations with Jay in Slack:
It would be cool to be able to develop a CLI app in CLJS and be able to wrap the app such that the same exact app could be used in the browser.
For instance, suppose a nano-like text editor was implemented in this CLJS/TUI system for command line usage. Using something like Xterm.js it should be possible to wrap said nano-like app and have a working version of the app in browser.
This could be especially interesting for building tools for the CLJS ecosystem that can span both CLJ/CLJS and self-hosted/CLJS ecosystems.
Found a bit of research from someone attempting to use blessed with xterm through websockets https://github.com/embark-framework/neo-blessed/issues/17. Not sure how relevant it is though.