DEV Community

Cover image for ๐Ÿ‘พ GitHub Spray: Draw on your GitHub contrib graph
a
a

Posted on • Edited on

๐Ÿ‘พ GitHub Spray: Draw on your GitHub contrib graph

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
Enter fullscreen mode Exit fullscreen mode

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

$ github-spray -f my_octocat_heart_smiley_pattern.json
Enter fullscreen mode Exit fullscreen mode


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

Top comments (8)

Collapse
 
ben profile image
Ben Halpern

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

Collapse
 
annihil profile image
a

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

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
Abdur-Rahmaan Janhangeer

Crazy!