Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2016rshah/githubchart-api
:date: Embed github contributions chart as image
https://github.com/2016rshah/githubchart-api
github github-api github-extension
Last synced: 8 days ago
JSON representation
:date: Embed github contributions chart as image
- Host: GitHub
- URL: https://github.com/2016rshah/githubchart-api
- Owner: 2016rshah
- Created: 2015-10-20T22:48:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T00:29:25.000Z (8 months ago)
- Last Synced: 2024-10-12T19:46:21.098Z (28 days ago)
- Topics: github, github-api, github-extension
- Language: Ruby
- Homepage: https://ghchart.rshah.org/
- Size: 43 KB
- Stars: 841
- Watchers: 5
- Forks: 58
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Github Chart API](https://ghchart.rshah.org)
Make this:
![2016rshah's Github chart](https://ghchart.rshah.org/2016rshah)
with this:
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](https://www.rshah.org/).
# Color Schemes
We also support custom color schemes! You can provide any base color and we will make shades for the chart. Just visit `https://ghchart.rshah.org//2016rshah` and replace `` 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:
![2016rshah's Blue Github Chart](https://ghchart.rshah.org/409ba5/2016rshah)
# Contributing
If you see anything that can be improved send in an issue/PR.
To get the code up and running, make sure ruby, etc. is properly installed, then run `bundle install`, then run `ruby app.rb` and visit `localhost:4567` in your browser.
To deploy, make sure heroku cli is installed, login, add the heroku remote, and run `git push heroku master`.
# See also
The [github repo](https://github.com/2016rshah/githubchart-api)The [actual site](https://ghchart.rshah.org)
This [ruby gem](https://github.com/akerl/githubchart)