Live data from Hacker News

Asciinema: Record and share your terminal sessions

asciinema.org

11–20 of 72 posts

Re: Asciinema: Record and share your terminal sessions

#11
post #7

I’ve moved over to using vhs https://github.com/charmbracelet/vhs

Looks cool, but produce GIFs? Asciinema is text based IIRC.

The name is the downside of Asciinema IMO. Can’t help but read it as ASCII enema, which is funny, but not what I want think about. Just call it tty-player or something…

Re: Asciinema: Record and share your terminal sessions

#14
How is this better than basic linear scrollable text? You don't have to waste time waiting for letters to appear at a pace slower than your reading speed. You don't worry about missing a moment and then trying to rewind with the imprecise controls (and you can't use text search to instantly find the word you remember) of broken full-screen button like it's on this website when viewed on a smartphone

Re: Asciinema: Record and share your terminal sessions

#15
post #14

How is this better than basic linear scrollable text? You don't have to waste time waiting for letters to appear at a pace slower than your reading speed. You don't worry about missing a moment and then trying to rewind with the imprecise controls (and you can't use text search to instantly find the word you remember) of broken full-screen button like it's on this website when viewed on a smartphone

I generally see it used to demo a TUI, to great effect.

Re: Asciinema: Record and share your terminal sessions

#17
post #14

How is this better than basic linear scrollable text? You don't have to waste time waiting for letters to appear at a pace slower than your reading speed. You don't worry about missing a moment and then trying to rewind with the imprecise controls (and you can't use text search to instantly find the word you remember) of broken full-screen button like it's on this website when viewed on a smartphone

I assume this plays nice with tuis? Ex. you can use this to record vim, which scrollback doesn't do

Re: Asciinema: Record and share your terminal sessions

#18
post #4
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!

How do you use the recordings as part of the CI?

We made a tool using termsvg: https://github.com/DeepGuide-Ai/dg. It'll use recorded sessions and execute the non-interactive sessions during CI.

Re: Asciinema: Record and share your terminal sessions

#19
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?

We use termsvg to convert cast to svg automatically. The tool is open source: https://github.com/DeepGuide-Ai/dg.
Post reply on HN