3 ms·
don't create a web interface please, maybe there needs to be a way to render ncurses in the web.
by jlebrech 10y ago
don't create a web interface please, maybe there needs to be a way to render ncurses in the web.
- iveqy 10y agoWhile your idea of auto generating web gui might be nice (I haven't seen it in action yet), there's no such solution what I know on the market yet. I want to be able to have a native feel on every platform. That means a web UI, a windows UI, an Android UI, etc. Therefor my current solution is to have a really tiny presentation layer that is able to adjust to multiple UI.
- jlebrech 10y agoif you look at blessed for example https://github.com/chjj/blessed https://github.com/chjj/blessed you'll see that the widgets fit every use case you would need for a webapp, but just need to write a wrapper for web rather than ncurses if that makes sense.
- iveqy 10y agoThanks, very interesting. I didn't know about blessed before.
- mbrock 10y agoYou'll want to check out "react-blessed", a way to use Blessed through React -- which enables common UI code for both web and terminal. https://github.com/Yomguithereal/react-blessed https://github.com/Yomguithereal/react-blessed