Quickly record and edit gifs and videos of your desktop
Lua MoonScript
Switch branches/tags
Nothing to show
Clone or download
leafo Merge pull request #9 from ersanchez/patch-1
added instructions for installing on Ubuntu 16.04 LTS
Latest commit 4feede4 Feb 6, 2017
Failed to load latest commit information.
bin add a build Dec 23, 2016
gifine use display from environment, fixes #7 Jan 3, 2017
.gitignore add a build Dec 23, 2016
Makefile editing tools work Dec 24, 2016
README.md added instructions for installing on Ubuntu 16.04 LTS Feb 4, 2017
gifine-dev-1.rockspec add rockspec Dec 23, 2016
hi.png quick test Dec 22, 2016



Gifine is a tool for recording and stitching together a short gifs or videos. It is a GTK application implemented in MoonScript using lgi.

You can either load a directory of frames, or select a region of your desktop to record. After loading some frames, you can scroll through them and trim out what isn't necessary. When you've finalized the video you can export to gif or mp4.

It requires a few external commands to be present to function:

In order to select a record area you need one of the following:

Most of these things should be able to be installed from your package manager

The recorded frames recorded aren't automatically cleaned up. You can find them in your /tmp dir if you want to reload a session. Use the load directory button on the initial screen.


luarocks install --server=http://luarocks.org/dev gifine

Run the command gifine to use.

Installation on Ubuntu 16.04 LTS

This has been tested on a fresh install of Ubuntu 16.04 LTS.

Install git:

$ sudo apt install git

Next, install all of the gifine's dependencies and sub-dependencies:

$ sudo apt install -y \
ffmpeg \
graphicsmagick \
gifsicle \
luarocks \
libxext-dev \
libimlib2-dev \
mesa-utils \
libxrender-dev \
glew-utils \
libglm-dev \
cmake \
compiz \
gengetopt \
libglu1-mesa-dev \
libglew-dev \
libxrandr-dev \

Install slop using the instructions in the slop README.md file.

Install LGI:

$ sudo luarocks install lgi

Install gifine.

$ sudo luarocks install --server=http://luarocks.org/dev gifine


Gifine demo



MIT, Copyright (C) 2016 by Leaf Corcoran