News for hackers. Stuff that matters.
Re:Show HN: Bagels – TUI Expense Tracker by wiseowise on Monday January 27, 2025 @02:12AM (#42838239)
Looks absolutely awesome.

But, man, Textual is such a chore to write and docs are crap. Is there HTML based TUI toolkit?

I know there’s https://github.com/vadimdemedes/ink, anything else besides it?

Re:Show HN: Bagels – TUI Expense Tracker by marcyb5st on Monday January 27, 2025 @03:18AM (#42838673)
In rust land there is a Dioxus renderer for TUIs (https://docs.rs/dioxus-tui/latest/dioxus_tui/ but I believe it is no longer one of the supported renderers). In JS there is Ink (https://github.com/vadimdemedes/ink).
Re:Show HN: Bagels – TUI Expense Tracker by EnhancedJax on Monday January 27, 2025 @04:23AM (#42839036)
My first choice of framework was ink (came from web dev background), but couldn't get it to work how I wanted it to. Textual adopts the component model, and IMO the docs are awesome! It's like writing React honestly (without the reactive part. Textual does support reactivity, but couldn't get it to work and just wrote code to update the UI jQuery style). It also uses CSS to style, which is great and works as expected most of the time!

Maybe give it a second try haha