2016rshah/githubchart-api
关于
📅 将 GitHub 贡献图表嵌入为图片
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Github Chart API
Make this:
with this:
<img src="https://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 https://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="https://ghchart.rshah.org/409ba5/2016rshah" alt="2016rshah's Blue Github Chart" />
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
The actual site
This ruby gem
探索相关项目
加载中…