Termtosvg
Dev tools
terminal recorder
SHOW HN2018
How HN took it
11 positive, 23 neutral or asking, 3 mixed, 8 critical, out of 45 comments about the project. Thread score +0.08.
Execution: 1 for, 5 againstDesign: 4 for, 2 againstIdea: 2 for, 0 againstPerformance: 1 for, 0 againstDocs: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
SVG output is far smaller than GIF and renders crisply with selectable text
From 3 comments
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…
transitivebs on HNThis is great for many of the same reasons that asciinema is great -- smooth animation and selectable text. The resulting svg is orders of magnitude smaller than a gif would be.…
andrewla on HNAsciinema is not gif. The text be zoomed in and is still super crisp and you can select the text.
Too on HN
Readable Python code
From 2 comments
Amazing stuff. And in very readable Python!
nihil75 on HNI'm very impressed - it combines two of my favourite technologies, Python and SVG. Three, in fact - including terminal. I will be watching it and tinkering with it. It's written…
b0rsuk on HN
Objections
SVG animations do not work in Edge and Microsoft has no plans to support SMIL
From 3 comments
The primary casualty of using SVG animations is IE/Edge support; SMIL is not currently planned:…
chrismorgan on HNThis is pretty awesome. I'm a big fan of both SVG animations and terminal recorders, so this is right up my alley. I previously built a small library called svganimator for…
foob on HNIt is on UserVoice [1], and it has over two thousand votes there. They've marked that as "sorry, no plans," and they've marked previous issues as "by design" [2]. They use Chrome…
foob on HN
Animation fails to render correctly in some Safari builds
From 3 comments
The example animation looks broken in Safari (including Tech Preview 59), works in Chrome 67 (of course), and in Firefox 61. [Edit: This seems to be a macOS/driver bug affecting…
okket on HNRight. It works on my 2013 MacBookPro, but the drawing looks incomplete/broken on my 2015 Retina 5k iMac. Both run macOS 10.13.5.
okket on HNIt's broken on my 2014 MacBook Air with Safari 11.1.1. Works OK on Firefox and Chrome.
The_suffocated on HN
No pause or scrub controls
From 3 comments
This is super awesome, but will there ever be an ability to pause/rewind/scrub?
dc443 on HNIt really should have a timelinecontrol ..
hutzlibu on HNYes, there is no dependency on a specific player. The output is an SVG animation so you can modify it as you want. For example you could add a last frame with the logo of your…
nbe on HN
Terminal size is fixed at recording time, unlike asciinema
From 1 comment
Sadly, I will not replace asciinema+svg-term-cli by termtosvg, because termtosvg takes the terminal size into account when recording, not when rendering. It means that I have to…
Pawamoy on HN
Requests
Add pause, rewind and scrubbing controls
From 3 comments
This is great for many of the same reasons that asciinema is great -- smooth animation and selectable text. The resulting svg is orders of magnitude smaller than a gif would be.…
andrewla on HNThis is super awesome, but will there ever be an ability to pause/rewind/scrub?
dc443 on HNYes, there is no dependency on a specific player. The output is an SVG animation so you can modify it as you want. For example you could add a last frame with the logo of your…
nbe on HN
Reduce SVG file size
From 1 comment
OP here. Sadly, SVG file size is not as small as I'd want it to be. The main problem is that a few attributes (x, y and lengthAdjust) have to be repeated on each text tag to…
nbe on HN
Fix virtualenv with system site packages
From 2 comments
This is extremely cool, and will be useful. One bug I noticed is that it seems to break virtualenv which is made with --system-site-packages its not finding the modules
Demiurge on HNThanks! I will look into the virtualenv problem, but if you can spare the time could you please open an issue and include the exact steps to reproduce the error?…
nbe on HN
Questions
What advantages does it have over asciinema
From 2 comments
Cool. It is not very clear from the description so I will ask: What are the advantages over "asciinema"? At the moment I only see that it does not require a specific player…
dethos on HNThanks 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!
cirowrc on HN
How does it compare on file size
From 1 comment
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…
fsiefken on HN
Alternatives named
asciinema with svg-term-cli
From 2 comments
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…
transitivebs on HNSadly, I will not replace asciinema+svg-term-cli by termtosvg, because termtosvg takes the terminal size into account when recording, not when rendering. It means that I have to…
Pawamoy on HN
ttyrec
From 1 comment
the timing information you want is what 'ttyrec' is for http://derpi.tuwien.ac.at/cgi-bin/man/man2html?1+ttyrec
jquast on HN
Animated GIF
From 1 comment
A few weeks ago I tried to convert one of my asciinema recordings to a SVG with svg-term-cli [1], but the result had big problems with some browsers, so I took the more…
arendtio on HN