asciinema
Dec 12, 2015 · 1 minute read · Commentstools
Ran into this a while back, but I keep forgetting about it: https://asciinema.org
Using
$ asciinema rec
...
$ exit
...
It’ll start a new shell and record all the things (including timing and mistakes!), then upload it to their site for serving.
Modifying
Download it:
$ curl -sL https://asciinema.org/a/abcd1234.json > rec.json
Edit the file…
Upload it:
$ asciinema upload rec.json
Other useful options
Record something that isn’t a shell:
$ asciinema rec -c node
~ Asciicast recording started.
~ Hit Ctrl-D or type "exit" to finish.
> console.log('hello world')
hello world
undefined
> ~ Asciicast recording finished.
~ Press <Enter> to upload, <Ctrl-C> to cancel.
fin