A customizable GitHub stats card generator that creates beautiful SVG cards showing your GitHub statistics, most used languages, contribution history, and top repositories.
-
Multiple Card Types
- GitHub Stats (followers, stars, repos, etc.)
- Most Used Languages
- Contribution Stats
- Top Repositories
-
Customization Options
- Multiple chart types (bars, pie, donut)
- Various themes:
- Default Light/Dark
- Tokyo Night
- Dracula
- Monokai
- Aura
- GitHub Dark
- Solarized Dark
- One Dark
- Radical
- Ocean
- Forest
- Sunset
- Monochrome
- Pastel
- Visit the website
- Enter your GitHub username
- Select your preferred card type
- Choose a theme and chart style
- Copy the generated markdown or HTML code
- Paste it in your GitHub README or anywhere else!
![GitHub Stats](https://github-stats-card-generator.vercel.app/api/svg?username=YOUR_USERNAME)
![Top Languages](https://github-stats-card-generator.vercel.app/api/svg?username=YOUR_USERNAME&type=languages)
![Contributions](https://github-stats-card-generator.vercel.app/api/svg?username=YOUR_USERNAME&type=contributions)
![Top Repos](https://github-stats-card-generator.vercel.app/api/svg?username=YOUR_USERNAME&type=top-repos)
username
: Your GitHub usernametype
: Card type (general
,languages
,contributions
,top-repos
)theme
: Theme name (e.g.,dracula
,tokyonight
,github
)chart
: Chart type for stats and languages (bars
,pie
,donut
)
This is a Next.js project bootstrapped with create-next-app
.
- Clone the repository
git clone https://github.com/yourusername/github-stats-generator.git
- Install dependencies
npm install
# or
yarn install
- Start the development server
npm run dev
# or
yarn dev
- Open http://localhost:3000 with your browser
Create a .env.local
file with:
GITHUB_TOKEN=your_github_token
NEXT_PUBLIC_API_URL=http://localhost:3000
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by various GitHub stats generators
- Uses GitHub's API
- Built with Next.js and TypeScript