Take a picture and upload it to imgur.com at every commit. The url to the uploaded image is appended to the commit message.
- Clone this repo to the
.git/folder of your project - Navigate the
.git/commit-selfiefolder and runnpm install - Go to imgur.com and get an API key
- Create a config.js and add your keys to it (See below)
- Copy the
commit-msggit hook to the.git/hooks/folder.
exports.imgur = {
clientId: '<your-client-id>',
clientSecret: '<your-client-secret>'
};If your images are dark then increase the FRAME_TO_UPLOAD value.
mplayer
Only tested on Linux
Adding this to your .git folder might be a really bad idea. Use this at your own risk