abusing github commit history for the lulz
gitfiti noun : Carefully crafted graffiti in a github commit history calendar.
An example of gitfiti in the wild:
gitfiti.pyis a tool to decorate your github account's commit history calendar by (blatantly) abusing git's ability to accept commits in the past.
gitfiti.pygenerates a script (powershell or bash) that makes commits with the GITAUTHORDATE and GITCOMMITTERDATE environment variables set for each targeted pixel.
Since this is likely to clobber repo's history, it is highly recommend that you create a new github repo when using gitfiti. Also, the generated script assumes you are using public-key authentication with git.
Included "art" from left to right: kitty, oneup, oneup2, hackerschool, octocat, octocat2
gitfiti.pyand follow the prompts for username, art selection, offset, and repo name.
gitfiti.ps1from your home directory (or any non-git tracked dir) and watch it go to work.
The file format for personal templates is the following:
:center-blank [[1,1,1,1,1,1,1], [1,1,1,1,1,1,1], [1,1,1,1,1,1,1], [1,1,1,0,1,1,1], [1,1,1,1,1,1,1], [1,1,1,1,1,1,1], [1,1,1,1,1,1,1]]
This would output a 7 x 7 light green square with a single blank center square.
Once you have a file with templates, enter its name when prompted and the templates will be added to the list of options.
Fortunately if you regret your gitfiti in the morning, removing it is fairly easy: delete the repo you created for your gitfiti (and wait).
gitfiti is released under The MIT license (MIT)