GitHub Commits
Display commit counts and last commit time for GitHub repositories.
Show total commits or how recently a repository was updated.
GET/github/commits/:owner/:repo.svg
Path Parameters
required
required

URL formats
Total commits
/github/commits/{owner}/{repo}.svg
/github/commits/{owner}/{repo}/{branch}.svg
Shows the total number of commits. Optionally specify a branch.
Last commit
/github/last-commit/{owner}/{repo}.svg
/github/last-commit/{owner}/{repo}/{branch}.svg
Shows relative time since the last commit (e.g., "2 hours ago", "3 days ago").
Examples
<!-- Total commits (default branch) -->

<!-- Commits on specific branch -->

<!-- Last commit time -->

<!-- Last commit on branch -->

Styling examples
<!-- With git-commit icon -->

<!-- Blue theme -->

<!-- Custom label -->

Use cases
- Show project maturity with total commit count
- Indicate active maintenance with "last commit" time
- Compare activity across branches