All examples By author By category About

roachhd

Stick your repo everywhere. Add the script and add you widgie

GitHub jQuery Repo Widget

Drop this script on your page and it will build you a beautiful widget that displays the status of your GitHub repo.

What does it look like?

Widget Demo

How do I use it?

Everwhere you want a widget to be placed, add the following markup:

<div class="github-widget" data-repo="USERNAME/REPO"></div>

Then include the javascript file somewhere after you've include jQuery:

<script type="text/javascript" src="jquery.githubRepoWidget.min.js"></script>

That's it! All of the styling is included and image assets are pulled from GitHub.