I recently discovered this while working on my current project freyr-js.
Great work, well done.
I've tried out a number of other options that all had one problem or the other.
Until I found this.
asciicast2gif floods my memory and takes over 10 minutes to compile.
terminalizer sometimes doesn't render properly even though it does a better job at staying in check in terms of memory.
These two, because they're GIFs rely on either spawning a headless chromium instance (through electron/puppeteer) or phantomjs, and then merging the frames whether by piping into gifsicle or gif-encoder.
This takes a better approach and can end up with better results, depending on the use-case.
I decided to extend the output SVG from this and embed into it.
I recently discovered this while working on my current project freyr-js. Great work, well done.
I've tried out a number of other options that all had one problem or the other. Until I found this.
These two, because they're GIFs rely on either spawning a headless chromium instance (through electron/puppeteer) or phantomjs, and then merging the frames whether by piping into gifsicle or gif-encoder.
This takes a better approach and can end up with better results, depending on the use-case. I decided to extend the output SVG from this and embed into it.
Check it out: https://github.com/miraclx/svgembed