loading...
Cover image for πŸ‘Ύ GitHub Spray: Draw on your GitHub contrib graph β–‘β–’β–“β–ˆ

πŸ‘Ύ GitHub Spray: Draw on your GitHub contrib graph β–‘β–’β–“β–ˆ

annihil profile image a ・Updated on ・2 min read

This may sound like a pointless project, but truth is, we all love to differentiate ourselves from others, and perhaps you might like to have this small touch on your GitHub page.

This open source CLI, available as an npm module, gives you the ability to "spray" your GH profile page.

The naming idea comes from Counter Strike, where you could spray walls with your custom image, it was very popular, to the point that a very famous technique was to spray a sexy half naked lady on a wall to drag enemies' attention and annihilate them while their defenses were lowered.

With this tool, you can draw on your 53 by 7 pixels calendar heatmap which is displayed on your profile.

It already contains several fonts so that you can easily write text.

$ github-spray -t hello

Otherwise, you can be more creative and design your own pattern.

$ github-spray -f my_octocat_heart_smiley_pattern.json


I made an handy web app to ease the creation.

It has numerous of options such as specifying the start date, the font, invert colors, adjust colors, flip horizontally or vertically the spray, set a repo origin url and push to it.

You only live once, go for it: GitHub Spray πŸ€™
Btw, the spray isn't permanent, you can delete it by removing the repo πŸ™‚

Edit: Huge thanks to DEV Community for making the repo appear on the GitHub Javascript trending page, I love you guys!! <3

Discussion

pic
Editor guide
Collapse
ben profile image
Ben Halpern

This is a fun and well-executed take on this kind of thing.

Collapse
annihil profile image
a Author

Hey thank you so much for the kind words, coming from such an high profile I really appreciate it! :)

Collapse
meloncatty profile image
Krista Handel

+1 for Counter Strike, also this is neat!

Collapse
annihil profile image
a Author

Hehe thanks, here is the said technique: imgur.com/w5fwbIr πŸ˜…

Collapse
meloncatty profile image
Krista Handel

of course! I played it so much back in the day. sometimes people would get banned from servers for having inappropriate sprays, I'm glad to see your 'sprays' are more tasteful!

Collapse
dance2die profile image
Sung M. Kim

Btw, the spray isn't permanent, you can delete it by removing the repo

I was afraid of losing the history but that's a relief πŸ™‚

Collapse
bananabrann profile image
Lee

Haha, this is awesome! I had no idea you could do this. Thanks!

Collapse
abdurrahmaanj profile image