gitfitinoun : Carefully crafted graffiti in a github commit history calendar.
An example of gitfiti in the wild:
gitfiti.py is a tool to decorate your github account's commit history calendar by (blatantly) abusing git's ability to accept commits in the past.
How? gitfiti.py generates a script (powershell or bash) that makes commits with the GIT_AUTHOR_DATE and GIT_COMMITTER_DATE 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.
Pixel Art
Included "art" from left to right: kitty, oneup, oneup2, hackerschool, octocat, octocat2
Usage
Create a new github repo to store your handiwork.
Run gitfiti.py and follow the prompts for username, art selection, offset, and repo name.
Run the generated gitfiti.sh or gitfiti.ps1 from your home directory (or any non-git tracked dir) and watch it go to work.
Wait... Seriously, you'll probably need to wait a day or two for the gitfiti to show in your commit graph.
User Templates
The file format for personal templates is the following:
Each template starts off with a ":" and then a name (eg. ":foo")
Each line after that is part of a json-recognizable array.
The array contain values 0-4, 0 being blank and 4 being dark green.
To add multiple templates, just add another name tag as described in 1.
请发表评论