Live data from Hacker News

Asciinema: Record and share your terminal sessions

asciinema.org

61–70 of 72 posts

Re: Asciinema: Record and share your terminal sessions

#61

Could anyone recommend any plugins that turn asciinema recordings to SVGs that are currently maintained? I'm aware of this one, which seems to be the only one actively maintained from when I lasted looked: https://github.com/MrMarble/termsvg Hoping others have different recommendations. What would be nice about transforming to SVG is low bandwidth and ease of use for static sites.

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

Re: Asciinema: Record and share your terminal sessions

#62
post #53

I want to take just a second, not to talk about asciinema itself, but to use asciinema to talk about a project I just discovered recently called carbonyl. It's a command line web-browser that uses a headless GUI browser (in this case chromium) in order to surf the web and render it to the terminal. brow.sh preceded it (powered by Firefox), but in my testing, carbonyl has much better web support. In any case, here's a…

I have a really simple asciinema implementation at terminoid.com, it may work there. I haven't gotten around to finishing my work on it...

Re: Asciinema: Record and share your terminal sessions

#63
post #38
post #6

I've found asciinema pretty cool and recorded a few recordings of things I've done, like some experimental Emacs commands, a computer algebra system, a Unicode Tetris game in ARM assembly, and a minimal roguelike: https://asciinema.org/~kragen . These are not the most spectacular recordings on the site, but I have found them a useful way to communicate ideas. I wish there was some kind of voiceover support. One thing…

If you want voiceover and more you might wanna check out CodeMic.io.

That's not just proprietary, it's surveillance capitalism. "Subscribe for early access and monthly progress updates." You should be embarrassed for posting that kind of filth on a thread about asciinema, which is a free-software program that works offline and has strict privacy protections.

Also, codemic.io seems to be oriented toward full-motion video, so aside from the authoritarianism issues, it's not even related.

Re: Asciinema: Record and share your terminal sessions

#64
post #60
post #58

All of the terminal effects I display over at: https://chrisbuilds.github.io/terminaltexteffects/showroom/ were recorded using asciinema and converted to gif use AGG. https://github.com/asciinema/agg The workflow only takes a few seconds. The .cast file is output to a folder, AGG reads the .cast and creates a gif. AGG has arguments to automatically set the row/column widths and strip inactive time. I could not find a…

Quality animated SVGs is even better: https://github.com/marionebl/svg-term-cli

The amount of information the SVG must store to represent the animation actually crashed the application creating it. There’s too much going on in TTE animations.

Re: Asciinema: Record and share your terminal sessions

#65
For a workshop I embedded gifs of cli tools in PowerPoint.

It was great. The PowerPoint acted as both notes for me and the trainees who could refer to them after the workshop finished.

Only issue is I prefer sharing pdf of slide deck but I couldn't workout how to export a pdf with gif and no idea if it's possible to embed a gif in a pdf

Re: Asciinema: Record and share your terminal sessions

#66
post #5
post #2

We use asciinema to record CLI tools terminals and add the recordings as svg to our README. We also use the recordings to replay as part of our CI. works great!

That sounds cool! An animated SVG? How do you convert to SVG format?

Upon investigation, both dg and svg-term-cli output SVG with embedded CSS animation. So it's not that SVG supports animation per se. This also remodels my understanding of what CSS animation can do.

Re: Asciinema: Record and share your terminal sessions

#67
post #53

I want to take just a second, not to talk about asciinema itself, but to use asciinema to talk about a project I just discovered recently called carbonyl. It's a command line web-browser that uses a headless GUI browser (in this case chromium) in order to surf the web and render it to the terminal. brow.sh preceded it (powered by Firefox), but in my testing, carbonyl has much better web support. In any case, here's a…

I looked at Carbony not long ago, but as far as I can see it's not been updated for a couple of years?

Re: Asciinema: Record and share your terminal sessions

#68
post #58

All of the terminal effects I display over at: https://chrisbuilds.github.io/terminaltexteffects/showroom/ were recorded using asciinema and converted to gif use AGG. https://github.com/asciinema/agg The workflow only takes a few seconds. The .cast file is output to a folder, AGG reads the .cast and creates a gif. AGG has arguments to automatically set the row/column widths and strip inactive time. I could not find a…

I just discovered Terminal Text Effects, and that was the coolest thing I’ve seen all year!

I never post a link on HN but I feel like I wanna post it everywhere!

Re: Asciinema: Record and share your terminal sessions

#69
post #61

Could anyone recommend any plugins that turn asciinema recordings to SVGs that are currently maintained? I'm aware of this one, which seems to be the only one actively maintained from when I lasted looked: https://github.com/MrMarble/termsvg Hoping others have different recommendations. What would be nice about transforming to SVG is low bandwidth and ease of use for static sites.

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

Thanks! Do you have experience using it? I'm quite nervous on using node CLT because the dependencies will always end up destroying the project and seeing it hasn't been updated in 5 years does not instill confidence.

The golang project looked better because at least the golang project provides a binary.

Re: Asciinema: Record and share your terminal sessions

#70
post #63
post #38

Earlier quoted context omitted.

If you want voiceover and more you might wanna check out CodeMic.io.

That's not just proprietary, it's surveillance capitalism. "Subscribe for early access and monthly progress updates." You should be embarrassed for posting that kind of filth on a thread about asciinema, which is a free-software program that works offline and has strict privacy protections. Also, codemic.io seems to be oriented toward full-motion video, so aside from the authoritarianism issues, it's not even related…

I think you're misunderstanding what it does. It's not sending your data to the cloud. It just lets you record a session when you press record. Also it's opensource too.

https://github.com/computing-den/CodeMic

Post reply on HN