Automatically converts screen recordings into gifs.
You'll need Node.js and Brew to get started. You'll also need zsh but it comes pre-installed with the latest version of MacOS so you should be all set.
The installer will install ffmpeg and gifski-api on your computer.
It will then watch the directory used by MacOS to save screen recordings and encode any new .mov
file into a gif.
- Download the repo content
- Open your terminal
- Run the installation program:
cd screen-to-gif;
./install.zsh
The install script will use launchctl
to register a directory watcher.
To see it in action:
- Use
Command + Shift + 5
- Move the record area
- Click on the
Record
button - Use the
Stop recording
icon that appeared in your top bar (more infos about recording your screen here) - Open your
Screenshots
folder - Wait a few seconds for the script to be able to convert the movie to gif
- Enjoy your gif.
The goal of this app is to allow you to drop a quick screen record to Github, because Github doesn't allow you to drop a movie in the description.
This is the reason why the gif won't have a good quality: it will be smaller in size.
We use these limitations by default:
- quality : 10%
- fps: 20
- width: 800px
If you wish to change these settings, search for 800
in the file templates/screenToGif.js
, edit as need, then run ./install.zsh
again.
To see the logs of the app:
- Open a terminal
- type the following command:
tail -f /tmp/screenToGif.out
- Record the screen to see it in action
To see the errors of the app:
- Open a terminal
- type the following command:
tail -f /tmp/screenToGif.err
- Change anything in the Screenshots folder to see any potential error with the script.
Run the uninstall script from the downloaded directory:
./uninstall.zsh
ScreenToGif is GNU licensed, as found in the LICENSE file.