Hacker News new | ask | show | jobs
by Kerrick 162 days ago
A library to make TUI programs in Ruby.

It's Ratatui & Crossterm bindings (via Magnus for Rust<->Ruby), plus a thin veneer of DX niceties and Rubyist improvements.

It's a rendering library that uses the immediate-mode paradigm. It is not (yet?) a component library or application framework. However, it's the core primitive on which you can build with architectures such as MVU (Elm-like) or Components (Smalltalk/DOM-like). The repository has example applications, including a small preview of what each of those architectures look like with the library (examples/app_all_events/ and examples/app_color_picker/ respectively).

I'm nearing v1.0.0 (launching v0.7.0 this evening) and I would love your feedback! https://sr.ht/~kerrick/ratatui_ruby/

P.S. - This is heavily AI-assisted. Depending on how you view the meaning of "vibe coding" either the whole thing, or just the rust side is vibe coded. I've had a heavy hand in the design and implementation of the Ruby side.