this post was submitted on 20 Feb 2025
216 points (95.8% liked)

Programmer Humor

33584 readers
30 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 28 points 2 days ago* (last edited 2 days ago) (1 children)

Now do it by displaying the video directly in the terminal (using colored blocks and the line delete feature like progress bars do) before it's executed.

Edit: Apparently, mpv can already be used for that, maybe you can use it as dependency :P

[โ€“] [email protected] 6 points 2 days ago

mpv written in c. C transpile to js using emscripten.

Can 100% use transpile mpv as dependency.