There was a lot of things about Rust that made think it was weird before I actually gave in and tried it. Now I adore Rust. You should try it.
HN user
LEGOlord208
Update: Sixels are now supported :)
Try it out with one of the terminals listed in https://github.com/saitoha/libsixel#terminal-requirements
Update: Sixels now work. I just need to fix scaling. The image turns out REALLY small.
You could do like the "fbi" tool, which uses the framebuffer (/dev/fb0) to draw to the screen. And that works for the TTY, but doesn't in Konsole.
Others have also told me about Sixels, so I'll probably add support for that at least.
Yep, it does avoid sync issues... well, partly. It doesn't know anything about the audio as that is handled by a pretty high level library. But it does make sure the frames goes at the speed they should. So assuming the audio isn't lagging behind or ahead (which I haven't encountered yet), the image and audio should be synced.
Cool!
I think that playing YouTube in the terminal today is just a fun idea because the videos look so goofy. But like people say... Sixel... Everything is apparently possible!
Someday, somebody will make the whole YouTube platform.
I was looking for image libraries. I couldn't really find more than /dev/fb0. Cool, I'll look into sixel!
I'll look into it, thanks!
EDIT: Done :) https://github.com/legolord208/termplay/commit/2263a5c5e385c...