/jQuery_GitHub_Widget_Reloaded

Based on JoelSutherland's popular widget for displaying GitHub repositories on arbitrary web pages, this script adds the ability to list repos by user.

Primary LanguageJavaScriptOtherNOASSERTION

#jQuery GitHub Widget Reloaded

Based on JoelSutherland's popular widget for displaying GitHub repositories on arbitrary web pages, this script adds the ability to list repos by user.

Screenshot

How to Use it

First, include the script sometime after jQuery.

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

Display a single repo by name:

<div class="github-repo-widget" data-repo="woothemes/woocommerce"></div>

List repos by username:

<div class="github-user-repos-widget" data-user="twitter"></div>