libgithub: a JavaScript library for displaying GitHub data

libgithub uses the GitHub API to display interesting activity from your GitHub account. Currently, the library can create commit badges, like the one shown below. However, libgithub is intended as a framework to easily display GitHub information on your websites and blogs.

libgithub v1.0 was released February 12, 2010.

Demo

This badge was generated with:

1
2
3
4
5
6
<script type="text/javascript">
$(window).load(function () {
  (new libgithub.Badge('msparks', 'libgithub')).targetIs('#commit');
});
</script>
<div id="commit"></div>

Download

libgithub is available on GitHub. You can clone the repository with:

git clone git://github.com/msparks/libgithub.git

Alternatively, these downloads are also available:

Documentation

All of the information you need to install and use libgithub can be found at the libgithub documentation.

Contributing

This project is new and in need of contributors. If you would like to add a new feature to libgithub, fork the project on GitHub. If you have questions, contact me.

Some ideas yet to be implemented:

  • repository lists
  • recent activity feeds
  • project activity graphs