Hacker News new | ask | show | jobs
by theraven 324 days ago
I’ve moved over to using vhs https://github.com/charmbracelet/vhs
2 comments

Looks cool, but produce GIFs? Asciinema is text based IIRC.

The name is the downside of Asciinema IMO. Can’t help but read it as ASCII enema, which is funny, but not what I want think about. Just call it tty-player or something…

Did someone say titty player?
Touché.
vhs can also create video files: https://github.com/charmbracelet/vhs#output
But the brilliant thing about Asciinema is that the output is just text (JavaScript). You can pause it and copy text from it if you need to, and the filesize is basically nil.
VHS offers a declarative approach with .tape files that makes terminal demos reproducible and version-controllable, plus it generates GIFs without requiring a browser to view the recordings.