sindresorhus/ama

How do you create animated SVGs for your READMEs?

kevinschaich opened this issue · 2 comments

Like this one from the Ora README:

Did you do this manually? Or is there a library/app that makes this easy?

Would be so cool to reduce file size via SVG rather than using animated GIFs! 🙂

Seems like the tool used was svg-term-cli and relevant PR was sindresorhus/ora#66. Also history for the screenshot links to related discussions.

Yes, svg-term-cli. It's great.

Here's an example for how to keep the SVG in sync with a live fixture: https://github.com/sindresorhus/electron-timber/blob/6251298a31d7a3b897adb2b0a9c33d298dab2c2c/package.json#L16