Chafa-yt banner

Chafa-yt

7 devlogs
6h 1m 23s

A YouTube TUI! Featuring a sophisticated UI, real-time video playback, subtitles, and a progress indicator.

Demo Repository

Loading README...

btz

Shipped this project!

Hours: 6.02
Cookies: 🍪 111
Multiplier: 18.93 cookies/hr

Reship! I made this a while ago, but didn’t get paid out for all my work. Hopefully I will with the new voting system.

I learned about how to use textual to make great-looking terminal apps. I also challenged myself to not lean on AI for coding, which was a good exercise in the end.

btz

Miscellaneous bugfixes

After the voting system has been revamped, I’m reshipping so that all my time is counted. I guess between then and now I’ve mostly done some small readme changes, looking at the commit history

hopefully all my time will be tracked now! This was a pretty fun project and I’m proud of the end result

Attachment
0
btz

Checked in #ask-the-shipwrights, put back demo video in readme

Attachment
0
btz

more time spent writing docs on why installation has to be the way that it is.

Attachment
0
btz

Ship!!

Attachment
0
btz

Added subtitles and frame dropping. Project is looking good!

bro I’ve watched the first fifteen seconds of Never Gonna Give You Up far too many times

Attachment
0
btz

Got the textual TUI up and running relatively well! Everything’s aligned, everything seems pretty low latency (although fps is about half of what I’d like it to be)

TODO: More GUI!!!

Attachment
0
btz

It works somewhat! Don’t worry about all that, funny stuff happens when you drag

Right now it’s pretty simple, just piping yt-dlp -> ffmpeg -> chafa

And I guess that’s the PoC? That’s it? So I’ll probably wrap this in a nice tui using textual.

Also Ghostty native image support is SO COOL. It should work on all terminals, though. Chafa has good ansi stuff too.

Attachment
1

Comments

btz
btz 4 months ago

And a cli with python-fire!