Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



24 Commits

Repository files navigation

Hi, this is just a little hack to make your self a nice Github Contribution Widget.

place the following code anywhere you want to place this widget

  <div id="github-widget" data-user="your-github-username" data-display="pop_repos,calendar"></div>
  <script src=""></script>

then BOOM! 🎆 ![](Screen Shot.png)


  • username: put your github username in data-user attribute
  • display: put any of pop_repos calendar in data-display attribute,split by ,


Live Example

How this works

  • Q:Where is the server?
    • A: backend code is just a gist file which just simple scrape your github profile page and provide a nice json file. and I've create (ru is for ruby) as a my little service deployed in heroku, which can run ruby code in it's quite handy than AWS lambda if you don't care anyone can see your source code. So it's the only server ever needed.
  • Q: How can you handle without a server.
    • A: github custom 404 page which redirect any path to my 404.html, and that html have a script to handle the path as parameter. for example, will actually toes to 404.html