News for hackers. Stuff that matters.
Re:Ink: React for interactive command-line apps by toppy on Monday May 08, 2023 @01:31PM (#35864458)
For Golang there is Bubbletea [1], Textual [2] for Python and tui-rs for Rust [3].

[1] https://github.com/charmbracelet/bubbletea

[2] https://github.com/textualize/textual

[3] https://github.com/fdehau/tui-rs

Re:Ink: React for interactive command-line apps by fbdab103 on Monday May 08, 2023 @01:48PM (#35864696)
Is tui-rs actively maintained? Currently 52 outstanding pull requests and last commit was ~9 months ago.
Re:Ink: React for interactive command-line apps by azemetre on Monday May 08, 2023 @02:14PM (#35865077)
It has been forked and actively maintained on [1] ratatui crate.

You can see this discussion post about it [2].

[1] https://github.com/tui-rs-revival/ratatui

[2] https://github.com/fdehau/tui-rs/issues/654

Re:Ink: React for interactive command-line apps by xixixao on Monday May 08, 2023 @03:32PM (#35866002)
Just FYI that neither use React or anything close to it, they follow the “immediate” rendering approach.
Re:Ink: React for interactive command-line apps by nicoburns on Monday May 08, 2023 @03:51PM (#35866237)
Dioxus (https://github.com/dioxuslabs/dioxus) is pretty React like, and has a TUI rendering mode.
Re:Ink: React for interactive command-line apps by EddieRingle on Monday May 08, 2023 @02:56PM (#35865618)
There's also Mosaic, which is an experiment of sorts to build console UI using Kotlin and Jetpack Compose: https://github.com/JakeWharton/mosaic
Re:Ink: React for interactive command-line apps by midoBB on Monday May 08, 2023 @06:37PM (#35867859)
I highly recommend Bubbletea. I used it for an internal tool, and it combined with Viper makes an easy-to-use TUI application development easy. Though it uses an approach more similar to Elm than to React.
Re:Ink: React for interactive command-line apps by rochak on Monday May 08, 2023 @08:11PM (#35868657)
Which is an advantage in my book
Re:Ink: React for interactive command-line apps by igravious on Monday May 08, 2023 @08:09PM (#35868637)
I just searched for a Ruby TUI to add to your list of TUIs for different popular languages and was very surprised at what I stumbled across:

https://www.google.com/search?q=Ruby+TUI

Re:Ink: React for interactive command-line apps by loo on Thursday May 11, 2023 @08:57PM (#35910503)
[it's Ruby Tui, the New Zealand Rugby Union player, grid of photos heading]
Re:Ink: React for interactive command-line apps by igravious on Tuesday May 09, 2023 @02:22AM (#35870796)
A list of Terminal UI libraries for Ruby sorted by number of rubygem downloads.

https://www.ruby-toolbox.com/categories/terminal_ui?display=...

Re:Ink: React for interactive command-line apps by glenngillen on Tuesday May 09, 2023 @04:45AM (#35871658)
There’s also r3bl for Rust: https://crates.io/crates/r3bl_rs_utils