Settings

Theme

Show HN: Primitive tool to record GIFs from terminal commands

github.com

3 points by kotborealis 3 years ago · 2 comments · 1 min read

Reader

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/

salad-fan 3 years ago

The lack of AWAIT in vhs is a showstopper, so I’m excited to give this a whirl!

andrewfromx 3 years ago

i like it! Trying to build it now.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection