PNG Generator of GitHub Public Contribution Graph
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
.gitignore
.ruby-version
Gemfile
Gemfile.lock
README.md
app.json
app.rb
config.ru

README.md

grass-graph

Generate a PNG image of the specified GitHub account's public contribution graph.

Use as an External Service

Grass-Graph / Imaging your Publick Contributions

Try grass-graph yourself on heroku

Setup

  1. Click Deploy

Usage

Generate and Get PNG image of github-id.

https://{your-heroku-app}.herokuapp.com/graph/{github-id}

grass-graph-normal

You can specify the angle to rotate the image.

https://{your-heroku-app}.herokuapp.com/graph/{github-id}?rotate=270

grass-graph-rotate

You can specify the size to resize the image.

https://{your-heroku-app}.herokuapp.com/graph/{github-id}?width=350&height=50

grass-graph-resize

You can also specify these two options at the same time .

https://{your-heroku-app}.herokuapp.com/graph/{github-id}?rotate=270&width=350&height=50

grass-graph-both

More

In Japanese.

GitHub の草状況を PNG 画像で返す heroku app をつくってみた - えいのうにっき