lolcommits takes a snapshot with your webcam every time you git commit code, and archives a lolcat style image with it. Git blame has never been so much fun!
lolcommits-dot-com is web app hosting lolcommits for multiple repositories! You can signup for free via GitHub. This plugin integrates your lolcommits gem with the website. The app itself has been open-sourced and lives on GitHub, pull-requests are welcome!
After installing the lolcommits gem, install this plugin with:
$ gem install lolcommits-dotcom
Then configure to enable and set these keys:
$ lolcommits --config -p dotcom # set enabled to `true` # paste your api key, secret api and repo (external) id
That's it! Your next lolcommit will be sent to lolcommits-dot-com. To disable use:
$ lolcommits --config -p dotcom # and set enabled to `false`
Check out this repo and run
bin/setup, this will install all dependencies and
generate docs. Use
bundle exec rake to run all tests and generate a coverage
You can also run
bin/console for an interactive prompt that will allow you to
experiment with the gem code.
After capturing every lolcommit is uploaded to the
with the following multi-part POST body params (JSON encoded):
t- timestamp, seconds since epoch
token- hex digest of
api_secretfrom plugin config and timestamp
api_keyfrom plugin config
git_commit- a hash with these params:
sha- the commit sha
repo_idfrom plugin config
image- the lolcommit image file (processed)
raw- the original captured camera image
MiniTest is used for testing. Run the test suite with:
$ rake test
Generate docs for this gem with:
$ rake rdoc
If you think something is broken or missing, please raise a new issue. Take a moment to check it hasn't been raised in the past (and possibly closed).
The gem is available as open source under the terms of LGPL-3.