3 ms·
> It does not generate a GIF file,... Although it's separate, the creator(s) does provide a utility called `agg`[0] to convert asciicast files to GIF. The GitH
by nvrspyx 4y ago
> It does not generate a GIF file,...
Although it's separate, the creator(s) does provide a utility called `agg`[0] to convert asciicast files to GIF. The GitHub appears to provide prebuilt binaries in Releases, but it's easily built using Cargo/Rust too.
0: https://github.com/asciinema/agg https://github.com/asciinema/agg
- ronilan 4y agoTo generate GIFs use: https://github.com/dstein64/gifcast https://github.com/dstein64/gifcast Works in the browser and locally. No install needed.
- stavros 4y agoBut that kind of defeats the purpose, no? If I'm going to record asciinema to convert to GIF, why not just record the terminal to GIF directly?
- nine_k 4y agoYou may want to edit the timing maybe? Or provide an asciicast format where you can run JS (your blog or site) and a gif where you can only insert a picture, like social networks.
- stavros 4y agoYou can't edit the timing with asciinema though, as far as I know.
- tomjakubowski 4y agoIt's possible. The file format is JSONL, you just need to export the raw version before uploading.