Recently, I discovered the notcurses library, the latest in a long line of weird ways of abusing a terminal emulator.

It provides a tool called ncplayer which can be used to preview images and videos from the terminal.

And then — I decided to see if I could pipe its result into git, and turn it into a commit message. Turns out that it works!

image in commit

Of course, this is an awful thing: it won’t work outside a terminal (definitely will not show up correctly on GitHub), it probably will break on different kinds of terminals, etc. So, just a curiosity :)