Skip to content

Instantly share code, notes, and snippets.

@armsp
Last active January 14, 2019 10:17
Show Gist options
  • Save armsp/c23b1be762df9d1e94ddd5f2b39ba038 to your computer and use it in GitHub Desktop.
Save armsp/c23b1be762df9d1e94ddd5f2b39ba038 to your computer and use it in GitHub Desktop.
How to create high quality gifs for Github READMEs

Steps:

  • Record a asciicast file

    • Use termtosvg record <outputfilename.cast> to record a asciicast file
    • Alternatively use asciinema rec to do the same i.e get an asciicast file
  • Then use asciicast2gif <asciicastfilename.cast> <outputfilename.gif> to convert asciicast to high quality gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment