GitHub Repo Badge
Live Demo
GitHub
Create Your Own!
<a href="http://github.com/USER/REPO" id="github-stats-badge">GitHub</a>
<script src="https://swharden.github.io/repo-badge/badge.js" defer></script>
Step 1:
Paste this anywhere in your page
Step 2:
Edit the href to point to your project
Step 3:
You were expecting a step 3?
Like it?
Give us a star!
🌟
Additional configuration
Show exact numbers
By default this badge displays rounded numbers like
6.9k
, but you can add the
data-exact
attribute to show exact numbers:
<a href="http://github.com/USER/REPO" id="github-stats-badge" data-exact>GitHub</a>