A jQuery plugin to display your Github Repositories.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 111 commits behind zenorocha:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
demo
.gitignore
README.md
github.jquery.json
jquery.github.js
jquery.github.min.js

README.md

jQuery Github

Github Repo Demonstration

Usage

Create an attribute called data-repo:

<div data-repo="jquery-boilerplate/boilerplate"></div>

Include jQuery:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>

Include plugin's CSS and JS:

<link rel="stylesheet" href="assets/base.css">
<script src="jquery.github.min.js"></script>

Call the plugin:

$('[data-repo]').github();

And that's it \o/

Check the full example here

Forks

Prefer a non-jquery version with pure JavaScript? No problem, @ricardobeat already did one :) Check his fork!

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

  • v0.2.4 January 17, 2013
    • Renamed from jquery-github-repos to jquery-github
  • v0.2.3 January 17, 2013
    • Added to jQuery Plugins Registry
    • Updated to jQuery v1.9
  • v0.2.2 January 15, 2013
    • Fixed "Last commit" date
    • Cached repo data using sessionStorage
    • Added error message if API exceeds its limits
  • v0.2.1 January 13, 2013
    • Added live demo
    • Replaced single images for a sprite
    • Added minified version
  • v0.2 September 11, 2012
    • Code wrapped into a jQuery plugin
    • Demonstration page created
  • v0.1 September 10, 2012
    • Initial commit

Credits

Built on top of jQuery Boilerplate

License

MIT License