jaidetree / cljs-tui-template

A leiningen template to generate ClojureScript Terminal-User-Interface applications built on web technologies you already know.
Apache License 2.0
230 stars 9 forks source link

cross-cli-browser apps with TUI+Xterm.js #1

Open johnmn3 opened 5 years ago

johnmn3 commented 5 years ago

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.

jaidetree commented 5 years ago

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.