Favicon of ttygif

ttygif

Convert ttyrec terminal recordings into animated GIF files. Capture and share command-line demonstrations, tutorials, and workflows as engaging visual content.

ttygif transforms terminal recordings into animated GIF files, making it easy to capture and share command-line demonstrations. It works by taking screenshots of every frame from a ttyrec recording and combining them into a smooth animation.

The tool operates in two simple steps: first, record your terminal session using ttyrec, then convert the recording to a GIF with a single command. This makes it perfect for creating tutorials, documentation, and technical walkthroughs that are easy to share across platforms.

Key features include:

  • Cross-platform support with installation available for Debian/Ubuntu, Fedora/CentOS, OpenSUSE, Arch Linux, and macOS
  • Simple two-step workflow - record with ttyrec, convert with ttygif
  • macOS-specific options like the -f flag to bypass cropping for non-fullscreen terminal applications
  • Debugging capabilities with TTYGIF_DEBUG environment variable for troubleshooting
  • Flexible WINDOWID handling with automatic detection support on Ubuntu

Whether you're documenting software workflows, creating technical tutorials, or sharing command-line tips, ttygif provides a straightforward way to convert terminal sessions into shareable, professional-looking animations.

Install

Apt
$ apt-get install imagemagick
Apt
$ apt-get install xdotool

Features

Scriptable

Media

Pros

3
  • Converts terminal recordings to animated GIFs
  • Supports multiple Linux distributions and macOS
  • Provides clear setup and usage instructions

Cons

2
  • Requires manual setting of WINDOWID in some cases
  • Relies on external tools like ttyrec and ImageMagick

Related tools

Categories:

Share:

Quiet lately: No commits in 11 months — this project might not be actively maintained.

Auto-fetched .

Recent releases

Similar to ttygif

Favicon

 

  
 
Favicon

 

  
 
Favicon