agg demo.cast demo.gif
ffmpeg -i demo.gif demo.mp4
I wish there was some kind of voiceover support.
One thing to be aware of before you try it is that, if you make a recording without providing a filename for it, it uploads it by default to the web site, even if you haven't created an account yet, though it doesn't make it public. So maybe don't record anything you have a responsibility of confidentiality for, or patch out that feature.
Actually I think this has changed, because when I tried this just now, it asked me
(s)ave locally, (u)pload to asciinema.org, (d)iscard
[s,u,d]? u
which is a little more friction but probably a safer default.The latest version has evolved to be more general purpose without assuming the upload.
upload is a separate command.
Also, codemic.io seems to be oriented toward full-motion video, so aside from the authoritarianism issues, it's not even related.
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…
... I'll see myself out.
I used it to show off my 2002 version of ASCII pacman game, since no one's going to bother compiling it, and it'll eventually end up with bitrot.
You can see me playing it (really badly!) at https://asciinema.org/a/723703
I'd probably be the idiot who types pacman and wonders why it's trying to update my system instead of starting the game.
[1] Firefox 141 @ Ubuntu 22.04
script session.log
... to be invaluable, especially when documenting commands that will be finding their way into a bash script or when I am collaborating with another person who will always have script available in their terminal but may have restrictions on being able to install asciinema.
Something that lets one turn a terminal recording into a document showing how to redo that thing without having to watch a video and no need to copy/paste between terminal and text editor, take screenshots and such.
Maybe this could be achieved by recording in a human readable file format and then running it via an LLM with right prompt.
Then I'd like it to record all the time.
I always have a bunch of tmux sessions running. I've set it up to save the history of all sessions, but obviously the history is one file. Something like this could resolve it nicely.
If you uploaded to asciinema server (e.g. asciinema.org) then you can click on Download and select txt format.
Or, with the CLI 3.0, you can either:
- convert existing cast file to plain text: asciinema convert demo.cast demo.txt
- record directly to plain text: asciinema rec demo.txt
IE: I think the person your replying to would like to have a tool that rebuilds a terminal session as a, for example, step by step guide. Not just grab it as a text file.
There's no upload-to-server functionality unlike asciinema, but that may be a feature for some users.
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.
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 very brief demo: https://asciinema.org/a/HLHWeKE2s5bdyhUGQPBum49kx
It's so short because the bandwidth is high to use it, and asciinema.org rejects casts that are greater than 10MB
The author Marcin is a nice fellow and as a reminder asciinema development relies on donations and sponsorships https://github.com/sponsors/ku1ik
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 any other solution that produced high quality gifs. Asciinema is awesome.
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
taoh•21h ago
iib•21h ago
taoh•19h ago
kragen•20h ago
_ache_•20h ago
https://github.com/marionebl/svg-term-cli
taoh•19h ago
kragen•18h ago
kragen•47m ago