this post was submitted on 20 Feb 2025
225 points (95.5% liked)

Programmer Humor

34572 readers
161 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] 31 points 1 month ago* (last edited 1 month 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 1 month ago

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

Can 100% use transpile mpv as dependency.