{"repo":"icholy/ttygif","free":true,"listed":false,"github":"https://github.com/icholy/ttygif","clone":"git clone https://github.com/icholy/ttygif.git","description":"Convert terminal recordings to animated gifs","language":"C","stars":4014,"topics":["gifs","terminal"],"license":"MIT","category":"cli-tools","readme_excerpt":"ttygif converts a ttyrec file into gif files. It's a stripped down version of ttyplay that screenshots every frame. Demo Setup Debian/Ubuntu Fedora/CentOS/RHEL OpenSUSE Leap Arch Linux With yaourt installed: macOS Usage: 1. Create ttyrec recording Hit CTRL-D or type exit when done recording. 2. Convert to gif On OSX optionally you can set a -f flag which will bypass cropping which is needed for terminal apps which aren't full screen. Both standard Terminal and iTerm apps are supported. Additional Notes If you're getting Error: WINDOWID environment variable was empty. , then you need to manually set WINDOWID . If you're on Ubuntu, you can use xdotool to find the WINDOWID Debugging If you're having issues, then export the TTYGIF DEBUG env variable. This will print out all the commands it's trying to run. Credits The idea and approach was adapted from tty2gif","default_branch":null,"files":null,"tree":[],"storefront":"/r/icholy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/icholy/ttygif/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}