Hacker News new | past | comments | ask | show | jobs | submit login

Aside: GitHub seems to dislike your animated SVG for some reason, since it won't play unless I open it manually. I think sanitize=true does that; try hosting it somewhere else?



Thanks for the heads up! May I ask what browser you are using? If there are compatibility issues I may just re-render these as GIFs.


How did you generate this animated SVG terminal screen capture?


asciinema to generate a raw json file, then svg-term to convert it to svg

https://github.com/asciinema/asciinema

https://github.com/marionebl/svg-term-cli

(I ended up moving the SVG assets to GitHub Pages which hopefully fixes the issue others were seeing.)


The SVG works fine in jsfiddle, which eventually led me to find https://stackoverflow.com/a/53717429 talking about 'animation' (which your SVG seems to mention, and I don't see a dur= property which GitHub does seem to support.)


It also works fine if I try to view it by itself.


Safari. I know that animated SVGs do work on GitHub in the browser; I just don't know why this one doesn't.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: