GitHub Flex💪

Flex your GitHub stats with style!

Customizable SVG badges for your GitHub profile. Because your profile deserves to look as good as your code!

View on GitHub

Quick Start

Add these to your GitHub profile README to show off your stats:

![Stats](https://github-flex.vercel.app/api/stats?username=YOUR_USERNAME&theme=dark)
![Languages](https://github-flex.vercel.app/api/languages?username=YOUR_USERNAME)
![Repo](https://github-flex.vercel.app/api/repo?username=OWNER&repo=REPO_NAME)

Examples

Stats Card

Stats Example

Languages

Languages Example

Available Card Types & Themes

Choose a card type:

Click a theme to preview it live:

default
dark
radical
merko
gruvbox
tokyonight
bubblegum
ocean
torvalds's GitHub Stats Total Stars 12,456 Total Commits 4,892 Total PRs 234 Total Issues 891 Total Repos 42

API Endpoints

/api/stats

Display your GitHub statistics including stars, commits, PRs, issues, and contributed repositories.

username (required) - Your GitHub username
theme - Color theme: default, dark, radical, merko, gruvbox, tokyonight, bubblegum, ocean
hide_border - Set to "true" to hide border
hide_title - Set to "true" to hide title
Example: ?username=torvalds&theme=radical&hide_border=true

/api/languages

Show your most used programming languages across all repositories.

username (required) - Your GitHub username
theme - Color theme (same as above)
langs_count - Number of languages to show (default: 5)
exclude - Comma-separated languages to exclude (e.g., HTML,CSS,Makefile)
hide_border - Set to "true" to hide border
hide_title - Set to "true" to hide title
Example: ?username=torvalds&langs_count=8&exclude=HTML,CSS

/api/repo

Display statistics for a specific repository including stars, forks, language, and open issues.

username (required) - Repository owner's username
repo (required) - Repository name
theme - Color theme (same as above)
hide_border - Set to "true" to hide border
Example: ?username=torvalds&repo=linux&theme=gruvbox