2 ms·
Has anyone experiences with asciicast2gif? On the surface this looks just like what's needed to make this work for me: I like the recording tools, but don't wa
by heinrichhartman 7y ago
Has anyone experiences with asciicast2gif?
On the surface this looks just like what's needed to make this work for me:
I like the recording tools, but don't want to be forced to embed a player from a third party service.
Looks like asciinema2gif relies on PhantomJs which brings withit an entire browser and is also no longer maintained.
This looks very bloaty for a tool that should convert terminal input to a gif file.
Is it working relieably and reasonably fast?
- sirn 7y agoI've only tried it few times via their official docker image; it's reasonably fast (a minute of asciicast took about a minute to convert), but PhantomJS/ImageMagick do put some load on the CPU while it's generating/combining frames. I never had any problems when I need to make a GIF, but the conversion process does indeed seems very wasteful.
- akavel 7y agoI've written an incomplete ad-hoc renderer in Go: https://github.com/akavel/asciinema2gif https://github.com/akavel/asciinema2gif — it worked in one case where I needed it personally, but it's missing support for a lot of escape sequences, so it most probably Won't Work For You As Is. But you're free (as in AGPL) and welcome to play with it if you like!