Live data from Hacker News

Show HN: Termtosvg – Record terminal sessions as SVG animations

github.com

1–10 of 84 posts

Re: Show HN: Termtosvg – Record terminal sessions as SVG animations

#4
Excellence! The README reads: "I really like the clean look of SVG animations and I also wanted to see how this solution would hold out against other attempts at terminal recording such as asciinema."

But how does it compare? Is the size smaller, is it more efficient?

Re: Show HN: Termtosvg – Record terminal sessions as SVG animations

#5
post #4

Excellence! The README reads: "I really like the clean look of SVG animations and I also wanted to see how this solution would hold out against other attempts at terminal recording such as asciinema." But how does it compare? Is the size smaller, is it more efficient?

Animated SVG animations (really just an svg element + animated css) are significantly smaller, more efficient, and crisper than equivalent GIF animations. I wrote about the difference between the two here: https://hackernoon.com/presenting-your-code-beautifully-fdba...

As I explained in the above article, this is already possible with asciinema + svg-term-cli (https://github.com/marionebl/svg-term-cli).

The one downside with animated SVGs is that they're not as compatible to be included anywhere as GIFs since they're really just html snippets.

Re: Show HN: Termtosvg – Record terminal sessions as SVG animations

#7
post #4

Excellence! The README reads: "I really like the clean look of SVG animations and I also wanted to see how this solution would hold out against other attempts at terminal recording such as asciinema." But how does it compare? Is the size smaller, is it more efficient?

Animated SVG animations (really just an svg element + animated css) are significantly smaller, more efficient, and crisper than equivalent GIF animations. I wrote about the difference between the two here: https://hackernoon.com/presenting-your-code-beautifully-fdba... As I explained in the above article, this is already possible with asciinema + svg-term-cli ( https://github.com/marionebl/svg-term-cli ). The one dow…

Thanks for putting your effort on this! It seems pretty great.

Being an `asciinema + svg-term-cli` user myself, what are the arguments for moving to `termtosvg`?

Thanks!

Re: Show HN: Termtosvg – Record terminal sessions as SVG animations

#10
post #4

Excellence! The README reads: "I really like the clean look of SVG animations and I also wanted to see how this solution would hold out against other attempts at terminal recording such as asciinema." But how does it compare? Is the size smaller, is it more efficient?

Animated SVG animations (really just an svg element + animated css) are significantly smaller, more efficient, and crisper than equivalent GIF animations. I wrote about the difference between the two here: https://hackernoon.com/presenting-your-code-beautifully-fdba... As I explained in the above article, this is already possible with asciinema + svg-term-cli ( https://github.com/marionebl/svg-term-cli ). The one dow…

You're competing with webm / mp4 not gif though.

Editing the HTML attribute to width=2000% is pretty sweet however because it's a vector.

I'm guessing if the example wasn't in an image tag I could select the text too?

Post reply on HN