GithubHelp home page GithubHelp logo

siathalysedi / lolcommits Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lolcommits/lolcommits

1.0 3.0 0.0 1.47 MB

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.

License: GNU Lesser General Public License v3.0

lolcommits's Introduction

Build Status

git + webcam = lol

Takes a snapshot with your Mac's built-in iSight/FaceTime webcam (or any working webcam on Linux) 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 (Mac OS X)

You'll need ImageMagick installed. Homebrew makes this easy. Simply do:

brew install imagemagick --from-source

Then simply 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. For a full list of options, you can do lolcommits --help.

Installation (Linux)

Install dependencies using your package manager of choice, for example in Ubuntu:

sudo apt-get install mplayer imagemagick libmagickwand-dev

On Fedora, enable the rpmfusion repository (for mplayer) and run:

sudo yum install ImageMagick ImageMagick-devel mplayer

Then install the lolcommits gem:

gem install lolcommits

Then you can lolcommits --enable in any git repo as above.

Installation (Windows)

See the wiki page for Installing on Windows.

Sample images

 


 


 


 

 

Please add your own lolcommit! Add to the People Using Lolcommits page on the Wiki.

Options

lolcommits has some options for additional lulz. You can enable via environment variables.

  • Set webcam device on mac - set LOLCOMMITS_DEVICE environment variable.
  • Set delay persistently (for slow to warmup webcams) - set LOLCOMMITS_DELAY var to time in seconds.
  • TRANZLATE YOAR COMMIT_MSG TO LOLSPEKK - set LOLCOMMITS_TRANZLATE=1.

Troubles?

Started a FAQ.

lolcommits's People

Contributors

mroth avatar prydonius avatar johanb avatar daniellesucher avatar ecarnevale avatar codegoblin avatar russellb avatar alx avatar rouge8 avatar madjar avatar jeffcrouse avatar jlsuttles avatar joelmoss avatar pizzeys avatar sfsekaran avatar

Stargazers

Arnstein Henriksen avatar

Watchers

Arnstein Henriksen avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.