https://github.com/halfdan/github-commit-history
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.
https://github.com/halfdan/github-commit-history
Last synced: 11 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/halfdan/github-commit-history
- Owner: halfdan
- Created: 2010-08-25T14:37:05.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2021-04-09T11:12:40.000Z (almost 5 years ago)
- Last Synced: 2025-04-12T14:55:49.460Z (12 months ago)
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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.
Demo
-----
https://github-history.dwz.ee/demo.html

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