Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Github Commit History is a JS-Library to show the commit history of a github repository. It produces a listing similar to Github's "Commit" page.
JavaScript
branch: master

Paging can now be done using 'offset'. Offset will skip the first <x>…

… entries and display all other (except when used combined with 'limit').
latest commit bc756ccb52
@halfdan authored
Failed to load latest commit information.
demo Paging can now be done using 'offset'. Offset will skip the first <x>…
README.md
github-commit-history.js Paging can now be done using 'offset'. Offset will skip the first <x>…
jquery.md5.js Initial commit.
mustache.js Initial commit.

README.md

Github Commit History

This library can be used to display the latest X commits on a repository. It uses jQuery to fetch data from the Github API.

The default styling is similar to what Github displays in the commit log.

Usage

To use this library on your website download it (see Downloads) or clone the repository.

Have a look at the demo to see how it works. You can have multiple listings on a single page, just change the id of the div container.

The file "_commit.html" works as a template. It uses mustache.js to apply the values to the template.

Features

  • Paging (using offset)
  • Limiting (using limit)
  • Change appearance using a simple template + CSS.

ToDo

  • Simplify usage
  • Provide minified version of the library
Something went wrong with that request. Please try again.