News for hackers. Stuff that matters.
Re:Asciinema – Record and share terminal sessions by heinrichhartman on Tuesday December 10, 2019 @07:32AM (#21751826)
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?

Re:Asciinema – Record and share terminal sessions by akavel on Tuesday December 10, 2019 @09:33AM (#21752745)
I've written an incomplete ad-hoc renderer in Go: 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!
Re:Asciinema – Record and share terminal sessions by sirn on Tuesday December 10, 2019 @08:46AM (#21752342)
I'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.