Skip to content

A JS library that displays select github repos on your page

Notifications You must be signed in to change notification settings

moonshinedevco/showoff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A JS library that displays select github repos on your page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published