Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

62 lines (43 sloc) 2.582 kb

git + webcam = lol

Takes a snapshot with your Mac's built-in iSight/FaceTime webcam every time you git commit code, and archives a lolcat style image with it.

By default, the lolimages are stored by a Github style short SHA in a ~/.lolcommits directory created for you.

Installation (for Mac OS X)

We've gotten rid of most of the dependency chain, yay!

You'll need imagesnap and imagemagick installed. Homebrew makes this easy. Simply do:

brew install imagemagick
brew install imagesnap

This will take care of the non-Ruby dependencies. Then do:

[sudo] gem install lolcommits

(If you're using rvm or something like that, you can/should probably omit the sudo, but the default MacOSX Ruby install is dumb and requires it.)

You're all set! To enable lolcommits for a git repo, go to the base directory of the repository, and run:

lolcommits --enable

Likewise, you can disable it via lolcommits --disable.

Sample images

Please add your own lolcommit to these samples! Just fork this repo, add it to this section of the README, and send me a pull request.  

Jump to Line
Something went wrong with that request. Please try again.