GitHub Commit Badge
This badge/banner can be used for displaying the latest (or a specific commit) for a GitHub project on your website. It looks like this:
github-commit-badge uses jquery. Many websites/blogs already include it, but if you don't, then simply add this line to your website:
To use the badge on your website, upload the 'css', 'html', 'img' and 'js' directories to your webserver. Then you can spawn badges on your website like this:
If you want to use it on something like WordPress you'll have to put HTML quotes around the content of the first script-block
- http://github.com/heipei/github-commit-badge/tree has the latest version.
- See a working demonstration at http://heipei.net/files/github-commit-badge/
Q: How does it work? Where does the data come from?
A: For each repository, the code will issue two API requests to GitHub to fetch the information.
Q: Why is it called a badge when it's really more of a banner?
A: Because I noticed that calling it banner increases the risk of it being filtered by AdBlock etc.
sass --watch scss:css coffee -c --watch -o js coffee
Johannes Gilger email@example.com