4 ms·
Does anyone know of a similar library for node which does this? I've decided to make my next app TUI first, and then only add in a GUI much later, but I haven't
by pugio 6y ago
Does anyone know of a similar library for node which does this? I've decided to make my next app TUI first, and then only add in a GUI much later, but I haven't seen anything that looks nearly as good as rich.
- acemarke 6y agoThere's `blessed` [0], a plain JS lib similar to `ncurses`. There's also `react-blessed` [1], which is a React renderer that targets `blessed` as the display layer, and `ink` [2], which is also a text-based React renderer but using its own display layer. [0] https://github.com/chjj/blessed https://github.com/chjj/blessed [1] https://github.com/Yomguithereal/react-blessed https://github.com/Yomguithereal/react-blessed [2] https://github.com/vadimdemedes/ink https://github.com/vadimdemedes/ink
- woutr_be 6y agoIf you plan on using blessed, there’s also blessed-contrib, which is a library of widgets for blessed. https://github.com/yaronn/blessed-contrib https://github.com/yaronn/blessed-contrib
- dfee 6y agoThis is so cool! I knew about Ink, but not Blessed. Curious as to people’s experience using Blessed-React vs Ink.
- deleted 6y ago[deleted]
- pugio 6y agoI saw blessed, thank you, but the last commit was in 2016, and I'm a bit wary of a JS library with that level of activity.
- duncanbeevers 6y agoInk may be the tool you're looking for. https://vadimdemedes.com/posts/ink-3 https://vadimdemedes.com/posts/ink-3 It lets you write React CLI apps using a flexbox layout engine, and is used by a number of high-profile node projects.