Skip to content

luminousmen/Kgif

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

FBI bug free

Kgif

Tool for creating gif file from capturing active window.

gif

Originally it was created for capturing tty output and creating preview for github projects ๐Ÿ˜‰

I needed to capture tty output on my Ubuntu 15.10. First I came up to using ttyrec with ttygif or tty2gif convertor, then find showterm.io. All this solutions didn't work for me ๐Ÿ˜ฌ Than I create this simple script that satisfies all my needs.

Dependencies

  • scrot
  • imagemagick

Installation

$ sudo apt-get install imagemagick scrot
$ git clone https://github.com/luminousmen/Kgif

Usage

$ ./kgif.sh --help
usage: ./kgif.sh [--delay] [--filename ] [--gifdelay] [--noclean] [--check] [-h]
  -h, --help                   Show this help, exit
      --check                  Check if all dependencies are installed, exit
      --delay=<sec>            Set delay in seconds to specify how long script will wait until start capturing.
      --gifdelay=<sec>         Set delay in seconds to specify how fast images appears in gif.
      --filename=<file name>   Set file name for output gif.
      --noclean                Set if you don't want to delete source *.png screenshots.

Check if all dependencies presents in system:

$ ./kgif.sh --check

Set delay in seconds to specify how long script will wait until start capturing.

$ ./kgif.sh --delay=5

Set noclean if you don't want to delete source png screenshots (for example if you want to delete some of the screenshots).

$ ./kgif.sh --delay=5 --noclean

Preview

preview

About

:neckbeard: Tool for creating gif file from capturing active window.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages