📅 Embed github contributions chart as image
Ruby HTML
Switch branches/tags
Nothing to show
Clone or download

README.md

Github Chart API

Make this:

2016rshah's Github chart

with this:

<img src="http://ghchart.rshah.org/2016rshah" alt="2016rshah's Github chart" />

Of course you can replace 2016rshah with your own github username.

Why

Being able to look back through the year and see how productive you've been is a great feeling, and that little green calendar is honestly one of my favorite data visualizations. But there's no reason it should be constrained to only living on the github website, you should be able to put it anywhere you want!

For example, I personally think it would really spiff up a personal website.

Color Schemes

We also support custom color schemes! You can provide any base color and we will make shades for the chart. Just visit http://ghchart.rshah.org/<HEX-COLOR>/2016rshah and replace <HEX-COLOR> with your hex color code, not including the leading hashtag. For example if you want a blue-themed chart that is based around the hex color #409ba5, you can visit the following route:

<img src="http://ghchart.rshah.org/409ba5/2016rshah" alt="2016rshah's Blue Github Chart" />

2016rshah's Blue Github Chart

Contributing

If you see anything that can be improved send in an issue/PR.

See also

The github repo

The actual site

This ruby gem