Hacker Newsnew | past | comments | ask | show | jobs | submit | marcoroth's commentslogin

Somebody mentioned Ratatui to me today: https://docs.rs/ratatui/latest/ratatui/index.html


Oh! I wonder how I never noticed this before, thank you!


I guess, to a degree, this is what lipgloss is trying to be/solve: https://github.com/marcoroth/lipgloss-ruby


To a degree, yes, but I was thinking something in the line of a commonly agreed on file format that defines a default style. To be used by libraries like charm, ratatui, tty, heck maybe even older ones like libnewt etc.

A bit like base16 but with more definitions and better semantics.


Yeah definitely! When you use them in the bubbletea `view` you can render multiple bubbles components at the same time.


Thanks for the feedback!

And yeah, I agree. I'm not super happy with some of the APIs as they aren't really idiomatic Ruby. It's also something I mentioned in the blog post that I want to improve: https://marcoroth.dev/posts/glamorous-christmas

For now, I just wanted to get them out so we as a community can build them out together. Most of the APIs are just 1:1 "ports" of their Go counterparts and might feel off or a bit too low level because of that.


Definitely just the beginning. Any ideas or feedback is very much appreciated as we build out these libraries!


What was the biggest challenge refactoring it from Go to Ruby?


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!


The talks are all indexed manually and are stored in yaml files, see: https://github.com/adrienpoly/rubyvideo/tree/main/data.

We are just embedding the video using vlite.js and the YouTube Video ID (which is just embedding an official iframe in the end). So there isn't really an account to "shut down", unless I'm missing something.


That sounds good :) tbh i didn't have the time to check your source. So lets hope google understands it and does not herras you :)!


That's unfortunate... but we can still index the talks from Steel City Ruby, I just added it to the TODO list!

But hey, maybe you get to speak at another Ruby conference in 2025!


It's all manual, but we have a few scripts that help us extract data from the YouTube API.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: