Back

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

112 points5 daysratatui-ruby.dev
pjmlp39 minutes ago

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

justifa28 minutes 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.

konmok22 minutes 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.

cswilliams6 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.

3eb7988a16635 hours ago

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

cswilliams3 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

pythonaut_162 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

xfalcox4 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

iddan4 hours ago

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

Kerrick3 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.

ianks1 hour ago

Love it

rubyfan7 hours ago

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

rufugee4 hours ago

Looking forward to experimenting with it. Looks awesome!

rbitar4 hours ago

Fantastic, this looks excellent and excited to try it

aaronbrethorst9 hours ago

super cool, great work Kerrick!

Kerrick9 hours ago

Thank you! My first Show HN in 2012 [0] was an inline TUI (of sorts) written in Ruby [1], so this is a great day.

[0]: https://news.ycombinator.com/item?id=4017933

[1]: https://kerrick.github.io/google/

desireco425 hours ago

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

knowitnone38 hours ago

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

Kerrick8 hours ago

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