Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (10 sloc) 670 Bytes

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 Image

How do I use it?

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

<div class="github-widget" data-repo="JoelSutherland/GitHub-jQuery-Repo-Widget"></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.