Show HN: RatatuiRuby wraps Rust Ratatui as a RubyGem – TUIs with the joy of Ruby

ratatui-ruby.dev

133 points

Kerrick

5 days ago


22 comments

jarek83 2 hours ago

It looks great overall, but the example browser is something really special! Never seen such detailed walkthroughs before.

cswilliams 10 hours ago

Excited to try it out as well. I often need to build simple CLI based apps in ruby so often would reach for TTY Toolkit: https://ttytoolkit.org/

However, I feel like it's in maintenance mode at this point, so glad to see some new options available.

  • 3eb7988a1663 9 hours ago

    Shouldn't some software be allowed to be done? Maintenance mode on a TUI library seems a reasonable place to be.

    • cswilliams 7 hours ago

      Sure. I was probably trying to be too polite and didn't want to use the word "abandoned", but that's probably a better term for the library at this point. There's a good amount of open issues and PRs in many of the component gems that haven't been addressed in years and requests to help maintain it have gone unanswered[0].

      [0] https://github.com/piotrmurach/tty-prompt/issues/210

iddan 8 hours ago

Landing page is great: informative, visual example, clear code example. Love it

  • Kerrick 7 hours ago

    Thank you! I wrote the code snippets and picked the color palette, but the web design came by way of https://news.ycombinator.com/item?id=46587284

    And my wife, wonderful as always, helped critique the writing! My RadioMenu class's comments (in the "See More: Inline menu example" expando-section) were far worse before she helped.

pjmlp 5 hours ago

Living the 80s, I guess the current nostalgia wave across tapes, portable CD players, Vynil and co, also applies to computer interfaces.

  • justifa 4 hours ago

    Interesting. Just sucks that Rust proponents apparently tried to assassinate Rust critic Rene Rebe through sw att ing.

    Wretched, evil and vile Rust proponents will likely censor, distract or downplay this.

    • konmok 4 hours ago

      Is there any evidence that Rust proponents did it, or are people assuming that because Rene has been critical of Rust? That would be horrible if true, but I'd rather not jump to conclusions that fast.

xfalcox 8 hours ago

I just made a new installer for Discourse on CharmRuby, now I gotta check this out and see if porting is feasible. Hopefully this reduces the app size, that is quite large with CharmRuby

anon5739483 3 hours ago

Thank you for enabling my Ruby addiction. This looks amazing. Great work!

pythonaut_16 6 hours ago

Looks exciting!

Does it have proper support for opening an external editor (via $EDITOR like nano, vim, etc?)? I ran into issues with that in Ink and had to switch over to Bubbletea, but I'd love to use Ruby instead of Go

rubyfan 11 hours ago

Looks really interesting, I’m excited to explore this.

rufugee 8 hours ago

Looking forward to experimenting with it. Looks awesome!

rbitar 8 hours ago

Fantastic, this looks excellent and excited to try it

ianks 5 hours ago

Love it

desireco42 9 hours ago

I can't like this enough, Ruby is perfect language for TUI apps and emergence of TUI apps is really welcome change.

knowitnone3 12 hours ago

This is awesome, will definitely take this for a spin!

  • Kerrick 12 hours ago

    Thank you! Please let me know how you find it. I want to make sure the DX is as good as possible.