git clone https://github.com/rascoro1/recterm.git ~/recterm
brew install ttyrec ttygif sox ffmpeg
chmod +x ~/recterm/recterm.sh
mkdir gifs
cd gifs
Create a video, with audio, of your terminal commands.
~/recterm/recterm.sh myvideo
CTRL-d
# this will create a video called myvideo
Create a GIF of your terminal commands.
ttyrec
CTRL-d
# this will create a binary file called ttyrecord by default.
# ttyrec myBIN; will create a custom file named myBIN
ttygif ttyrecord -f
# or ttyrec myBIN -f