Charm Ruby – Glamorous Terminal Libraries for Ruby
45 points
6 hours ago
| 4 comments
| charm-ruby.dev
| HN
riddley
37 seconds ago
[-]
How funny. I just spent the weekend AI slopping an FFI wrapper around notcurses because I couldn't find anything else. This looks amazing!

Since you asked for ideas in a different comment, here's something I put into my notcurses wrapper: grid and flex "css" layouts. Meaning the ability to say whatever.fixed(cols,...) and whatever.flex(:fr1) or whatever.grid(:fr1) and the ability to do a "grid-template-areas" style ascci art ala https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Grid...

reply
Kerrick
1 hour ago
[-]
This is really cool! It looks like Marco and I had the same idea around the same time, but we picked different TUI libraries to wrap. :-D

See also: https://git.sr.ht/~kerrick/ratatui_ruby

reply
thomascountz
3 hours ago
[-]
I'm excited to take a look at this! Using Charmbracelet's libraries for TUIs is part of why I learned Go. Ruby's TUI story has generally been underdeveloped by comparison.

Also, Marco (library creator) was just awarded the Rails Luminary award![1]

[1]: https://rubyonrails.org/2025/12/17/marco-roth-2025-rails-lum...

reply
marcoroth
32 minutes ago
[-]
I always loved Charm's aesthetics and it really opened my eyes with what can be done with TUIs. But I never felt like I wanted to learn Go just to be able to use these libraries. Ruby is magical in it's own way, so it just felt right to bring these libraries over to Ruby!
reply
throw-12-16
2 hours ago
[-]
Interesting, huge fan of charm and ruby.

Will definitely keep this in mind.

reply
marcoroth
31 minutes ago
[-]
Definitely just the beginning. Any ideas or feedback is very much appreciated as we build out these libraries!
reply