Skip to content

streamlau/ttygif

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTYGIF

ttygif converts a ttyrec file into gif files. It's a stripped down version of ttyplay which calls import on every frame.

Setup

$ sudo apt-get install imagemagick ttyrec
$ git clone https://github.com/icholy/ttygif.git
$ cd ttygif
$ make

Usage:

1. Create ttyrec recording

$ ttyrec myrecording
  • Hit CTRL-D or type exit when done recording.

2. Create gif frames

$ ./ttygif myrecording
  • Dumps a bunch of gif images into the current directory.
  • File names have this pattern: <zero_padded_index>_<delay_in_milliseconds>.gif

3. Create animated gif

$ ./concat.sh terminal.gif 
  • Concatenates all the images in the current directory

Demo:

gif

Credits

The idea and approach was adapted from tty2gif

About

Convert terminal recordings to animated gifs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published