GitHub Stars
Display the star count for any GitHub repository.
Show how many stars a repository has earned.
GET/github/stars/:owner/:repo.svg
Path Parameters
required
required

URL format
/github/stars/{owner}/{repo}.svg
/github/{owner}/{repo}/stars.svg
Examples
Default variant
Secondary variant
Branded variant
Blue theme
Outline variant
Large size
Copy-paste examples
Default — works great in any README
Branded — GitHub's brand color
Response format
The badge shows the star count formatted with k/M suffixes for large numbers (e.g., 139.1k).