A JS library that displays select github repos on your page
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.markdown
example.png
showoff.js
showoff.min.js

README.markdown

Showoff

This Javascript library shows off specified github repos (name, description, stats). To use, you'll first need to fetch:

Usage

First, load jQuery, timeago, and showoff:

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

Then, specify the div you want to fill and the repos per username you want to show off. For instance, let's say I wanted to show off bmuller's sexmachine and bandit projects and LivingSocial's ankusa in the div named "repos":

<script type="text/javascript">
  $(function() {
    SHOWOFF.load('repos', { 'bmuller': [ 'bandit', 'sexmachine' ], 'livingsocial': [ 'ankusa' ] });
  });
</script>

This results in:

Example image

License

MIT License