Converting asciinema output to gif

gifimagestypescript

Can I convert a .json file; generated by a program like asciinema; into an animated .gif?

Best Answer

Yes. While asciinema doesn't provide this natively, there are tools out there that can facilitate that for you.

You can create your local recording like so:

asciinema rec my_recording.json

And then feed that into a tool like asciicast2gif:

./asciicast2gif my_recording.json my_recording.gif
Related Question