For most of us, GitHub contributions are important, and the chart is quite beautiful. So here comes the question: How can we use it in other sites?
There are preview
There is an API that helps you do it quickly. https://ghchart.rshah.org/
Repository https://github.com/2016rshah/githubchart-api
1 | <img src="https://ghchart.rshah.org/your-GitHub-Username"> |
This helps you get a image.
Also you can define color yourself, it will automatically span into a range of colors.
1 | <img src="https://ghchart.rshah.org/409ba5/your-GitHub-Username"> |
Just add a color hexadecimal before the user name.
See this preview. This is the record of Ruan Yifeng.