Fri, March 23, 2018 ยท 1 min read

installing and using terminal recorder asciinema

installing and using terminal recorder asciinema

Asciinema is a terminal recorder application, can be used to record the sessions and share, recordings are called as asciicasts, you can find some publicly available asciicasts at https://asciinema.org/browse/featured.

getting started with installation, install can be done from yum/dnf or pip python installer

#sudo pip3 install asciinema
# sudo dnf install asciinema

to record a session use asciinema rec

asciinema rec testing
asciinema: recording asciicast to testing
asciinema: press <ctrl-d> or type "exit" when you're done

For uploading asciinema upload will upload recording to asciinema site.

asciinema upload testing
https://asciinema.org/a/oekbFqlvb4kGUZfRlnF6ElMHZ

Authenticating your machine to asciinema site

asciinema auth
Open the following URL in a web browser to link your install ID with your asciinema.org user account:

https://asciinema.org/connect/954653f3-1a1e-47b4-b5e9-27e5284dd

By default when you record a session it will have title default to specify a title use -t option.

asciinema rec test2 -t cipher
asciinema upload test2
https://asciinema.org/a/wfTixlX7GLAtA9kuXRh9NLnHC