Live data from Hacker News

Ask HN: Recommendations for Good TUI Libraries (Text User Interface)?

news.ycombinator.com

11–20 of 64 posts

Re: Ask HN: Recommendations for Good TUI Libraries (Text User Interface)?

#13
aerc[1]'s design is the main reason why I use it over mutt, even though mutt has more features. No idea what they use behind the scenes for their TUI, but you could take a look at their source code[2].

[1] https://aerc-mail.org/

[2] https://git.sr.ht/~sircmpwn/aerc

Re: Ask HN: Recommendations for Good TUI Libraries (Text User Interface)?

#15
post #12

http://hackage.haskell.org/package/brick is popular in the Haskell world.

Can confirm that it's awesome for getting something small and useful done quickly.

I was a beginner Haskell programmer when I first used brick, and it's great exposure to building a real world application (something a lot of Haskell beginners crave learning). Docs are very good too.

Code for anyone that might find it useful: https://github.com/2mol/pboy

edit: forgot to mention that it's very "Elm architecture", so if you like modern frontend development, then you might feel right at home in that paradigm.

Re: Ask HN: Recommendations for Good TUI Libraries (Text User Interface)?

#19
In the node ecosystem there are a few interesting ones.

https://github.com/vadimdemedes/ink for writing TUIs with react. Here's a project I wrote using that: https://github.com/zephraph/solitaire. It's not as powerful as ncurses, but it works rather well.

If you want something more on par with ncurses try https://github.com/cronvel/terminal-kit

Re: Ask HN: Recommendations for Good TUI Libraries (Text User Interface)?

#20
My favorite is the python-based Urwid library at http://www.urwid.org. It was a little hard for me to wrap my head around it at first, but once you get it, you can write TUI applications without a lot of code. Easy to install, many examples to work from.
Post reply on HN