Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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



But 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?


You 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.


You can't edit the timing with asciinema though, as far as I know.


It's possible. The file format is JSONL, you just need to export the raw version before uploading.


To generate GIFs use: https://github.com/dstein64/gifcast Works in the browser and locally. No install needed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: