$ ttyrec myrecording.ttyPress Ctrl+d when finished.
Make sure that tty2gif is on your $PATH.
$ tty2gif typing myrecording.ttyReplays each keypress and takes a screenshot. Don't touch the terminal whilst this is running!
$ convert -delay 10 -loop 0 step*.gif -delay 500 $(ls -1 step*.gif | tail -1) -layers Optimize final.gifRename final.gif to something more meaningful. Remove all step*.gif files. Add link in README.md. Commit.