I wrote termtosvg as an alternative [1]. It's a python program that records a shell session as a standalone SVG animation. Animations produced by termtosvg can be embedded in Markdown files or HTML pages.
Do you think you could also add support for ttyrec input?
This would allow converting existing ttyrecs and have a a full suite of tools creating all the options ready to upload between 1) standard text format record, 2) regular animated gif, 3) svg when saving space is important (while gaining zoom abilities as well!)
> Rendering of recordings in asciicast format made with asciinema
I quite like there being an intermediate file like there is in asciinema that you can edit by hand to remove your typos or speed boring bits up.
Fits right into a document I am developing.