Don't know if I want to a script that records my terminal session and upload the recording to an external server. Is there a way to keep the recording local?

asciinema is open-source and the file format is publicly documented (asciicast)[1]. You can run `asciinema rec filename.json` to save the file locally and self-host it with asciinema-player[2]. Alternatively, there's also asciicast2gif[3] that converts asciicast json to GIF image.

[1]: https://github.com/asciinema/asciinema/blob/master/doc/ascii...

[2]: https://github.com/asciinema/asciinema-player

[3]: https://github.com/asciinema/asciicast2gif