Live data from Hacker News

Charm Ruby – Glamorous Terminal Libraries for Ruby

charm-ruby.dev

1–10 of 31 posts

Re: Charm Ruby – Glamorous Terminal Libraries for Ruby

#2
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...

Re: Charm Ruby – Glamorous Terminal Libraries for Ruby

#5

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

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!

Re: Charm Ruby – Glamorous Terminal Libraries for Ruby

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

Re: Charm Ruby – Glamorous Terminal Libraries for Ruby

#9
What are popular charm/bubbletea based TUIs? I use TUIs often, but for some reason none of them are based on charm/bubbletea? Might be coincidence though.

While I appreciate Charm's aesthetics, I worry it leans too heavily on GUI paradigms, like popovers and buttons, rather than prioritizing the optimal keyboard efficiency used in traditional text-based interfaces.

Re: Charm Ruby – Glamorous Terminal Libraries for Ruby

#10
post #7

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 a…

> ... couldn't find anything else

Anything else meaning...? Ruby specific TUI library? I've been toying around with a lot of TUI's recently, landed on Textual (Python) for my most recent experiemnt, but Charm has been on my list to try out when I get a chance. There are also a number of other libs that will let you build quite robust applications in a number of languages (Rust, Python, Go, PHP, and those are just the one's I am aware of).

Post reply on HN