• Stars
    star
    321
  • Rank 130,752 (Top 3 %)
  • Language
    Ruby
  • Created over 13 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fucking animations. You need them.

gifme

pug

Fucking animations. You need them.

gifme is a simple command line tool to generate animated GIFs.

Installation

Install gifme:

gem install gifme

You'll also need to install ImageMagick. On OS X, this is easy using Homebrew:

brew install imagemagick

Usage

gifme ~/Desktop/1.png ~/Desktop/2.png
You now have a handsome animation at ~/Desktop/animated.gif

You can also glob, of course:

gifme ~/Desktop/*.jpg
You now have a handsome animation at ~/Desktop/animated.gif

CloudApp

Once your animation is finished up, we'll try to upload it to CloudApp. If you have my cloudapp script installed, we'll use that, otherwise we'll just skip this whole step.

Super Advanced Usage

On some gifs, it's nice to have a smooth loop, so when it ends there's not a jarring leap from the last frame to the first frame again. Use the --reverse switch to create the animation like normal, and then reverse the frames and add them to the animation so it looks like one smooth motion and back again.

gifme FILES --reverse

If you pass in a URL of a gif instead of FILES, we'll download that gif, split it into its constituent frames, and let you recreate it. For example, you could take a gif you find online and give it that --reverse look:

gifme http://tumblr.com/some-crazy.gif --reverse

You can also resize shit. We default to 500 pixels, but do whatever the fuck you want.

gifme http://tumblr.com/some-crazy.gif --width=1000

For other options, check out the help:

gifme -h

History

If you're curious, gifme was initially a few-line shell script in my dotfiles. Eventually it became clear that animation is a fundamental part of our society, and I split it out into its own tiny project.

If you're curious, I featured the older gifme version in a screencast I made that describes how animated gifs are an integral part of working at GitHub.

Much Love

From @holman. I love you.

More Repositories

1

dotfiles

@holman does dotfiles
Shell
7,037
star
2

spark

▁▂▃▅▂▇ in your shell.
Shell
5,968
star
3

boom

Motherfucking TEXT SNIPPETS! On the COMMAND LINE!
Ruby
1,269
star
4

extended-exercise-windows

A list of startups that have employee-friendly terms for exercising your options past 90 days.
1,136
star
5

ama

Ask @holman anything!
722
star
6

left

Left is a clean, whitespace-happy layout for Jekyll.
CSS
536
star
7

spaceman-diff

diff images from the command line
Shell
464
star
8

bubs

β’·β“Šβ’·β’·β“β’Ίβ“ˆ
Ruby
178
star
9

bandwidth-friends

A shell script for macOS that makes sure you are being nice to your nice coffeeshop internet neighbors. πŸ’–
Shell
87
star
10

boastful

A jQuery plugin to trawl Twitter for people linking to you.
JavaScript
82
star
11

hopper

Collection, Analyzation, and BBQing of Ruby community statistics.
Ruby
80
star
12

eponine

A very simple web server interface to shell scripts. Designed for Slack integrations on a Raspberry Pi.
Shell
54
star
13

rapinoe

Parse Keynote files in Ruby.
Ruby
46
star
14

stars

Recent Favstar and Convore stars on your command line.
Ruby
38
star
15

fuck-yeah

fuck yeah nouns
JavaScript
37
star
16

fatigue

Import your Nike+ runs into Garmin Connect.
Ruby
32
star
17

facelette

FACEEEEETIMMEMMEMEMEE
Ruby
28
star
18

this-machine-rebases-branches

it does.
26
star
19

vagranception

BWWWAAAAAAAAAAA
Ruby
22
star
20

tissues

things.app + github issues
Ruby
21
star
21

holmalicious

My mom sends me recipes.
19
star
22

git-hooks

Installable git hooks, a place to collect them
19
star
23

.js

holman's dotjs scripts
JavaScript
19
star
24

shamazing

SHAMAZING HASH ANALYSIS
Ruby
18
star
25

play

Play has moved to:
16
star
26

keep

It makes keeping config information pretty easy.
Ruby
12
star
27

casual

A tiny CAS client for Ruby.
Ruby
6
star
28

two_adium_one_cup

conversation history consolidation for Adium
Ruby
5
star
29

noted

A tiny Rails note search for your beautiful mug, sweetie.
5
star
30

maliciousurl

MALICIOUS MALICIOUS MALICIOUS MALICIOUS
Ruby
4
star
31

holman

holman
Ruby
4
star
32

brightkitey

brightkitey is a cute little Ruby wrapper around Brightkite's API.
Ruby
4
star
33

leftright

Cool replacement for Test::Unit's TestRunner
Ruby
1
star