Record terminal sessions and scripts into GIF animations with a single C/C++ source file.
tty2gif is a command-line utility that records terminal sessions—capturing both typed commands and their outputs—and saves them as binary files or animated GIFs. It solves the problem of visually documenting shell scripts, tutorials, or debugging sessions by providing a simple way to create shareable, animated recordings of command-line interactions.
Developers, system administrators, and technical educators who need to create visual recordings of terminal sessions for tutorials, documentation, or debugging purposes.
Developers choose tty2gif for its simplicity and uniformity—it's a single C/C++ source file with minimal dependencies, making it easy to build and port, unlike more complex or platform-specific alternatives.
record your scripts into a gif
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implemented as one C/C++ file, it's easy to compile, port, and maintain with minimal dependencies, as highlighted in the README.
Handles both capturing terminal sessions and converting them to GIFs in one tool, streamlining documentation and tutorial creation.
Allows changing GIF animation speed with a delay parameter, useful for customizing tutorial pacing based on the usage example.
Can replay and convert existing binary recordings to GIFs, offering flexibility for reusing or reprocessing captured sessions.
Primarily tested on Linux with Bash; Mac users must run under xterm and have ImageMagick with X11 support, reducing out-of-the-box usability.
Requires Magick++ library and ImageMagick for GIF conversion, which can be cumbersome to install and configure, especially for optimized output.
No built-in editing, audio recording, or annotation tools, making it less suitable for polished demos compared to full-featured screen recorders.