Hacker News new | ask | show | jobs
Show HN: Primitive tool to record GIFs from terminal commands (github.com)
3 points by kotborealis 1298 days ago
I've made a primitive tools to record GIF files.

There's many tools like this, but I was inspired by VHS[0]. The thing is, VHS requires ffmpeg and chromium to create GIFs and videos, which is a nice approach, but it's too heavy for my taste.

Basically, I forked a simple terminal emulator[1] written in plain C and added commands to write output straight to a GIF file[2].

It's stil a WIP pet-project, but I believe it could be usefull for someone, for example, to create animated illustrations for documentation, blog posts and such.

[0] https://github.com/charmbracelet/vhs/

[1] https://github.com/uobikiemukot/yaft/

[2] https://github.com/lecram/gifenc/

2 comments

The lack of AWAIT in vhs is a showstopper, so I’m excited to give this a whirl!
i like it! Trying to build it now.