Home > linux > Make a GIF of your terminal and insert it in your GitHub README

Make a GIF of your terminal and insert it in your GitHub README

Problem
For your shiny new GitHub project you want to make an animated GIF and insert it in the README file.

Solution
I found a blog post about it here. In short:

$ ttyrec demo
# do some stuff
Ctrl+D
$ ttygif demo
# the result is in tty.gif

Under Manjaro I could install the packages ttyrec and ttygif with yay.

And then you can insert the GIF in your README.md like this:

![GIF Demo](demo/demo.gif)
Categories: linux Tags: , , , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: