Hacker News new | past | comments | ask | show | jobs | submit login

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.



There'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

[1] https://github.com/Yomguithereal/react-blessed

[2] https://github.com/vadimdemedes/ink


If you plan on using blessed, there’s also blessed-contrib, which is a library of widgets for blessed.

https://github.com/yaronn/blessed-contrib


This is so cool! I knew about Ink, but not Blessed. Curious as to people’s experience using Blessed-React vs Ink.


I 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.


Ink may be the tool you're looking for.

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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: