GitHub Sprout is a README contribution graph widget generator. It lets developers create clean SVG contribution graphs for their GitHub profile or project README with a simple image URL.
The app includes a live builder where users can enter a GitHub username, choose a theme, switch graph styles, preview the result, and copy the Markdown embed code.
- Dynamic SVG endpoint for GitHub README files
- Username-based graph generation
- Graph styles:
heatmap,activity,streak,punch,stats,summary,profile - Themes:
github,ocean,sunset,grape,mono,rose,white - Live preview builder
- API docs page at
/docs - Copy-ready Markdown embed code
- Vercel-ready Next.js app
After deployment, use your Vercel domain in any GitHub README:
<img src="https://github-sprout.vercel.app/api/contributions?username=muhammad-muneeb3&theme=github&type=heatmap&size=normal&v=11" alt="GitHub contribution graph" />Change the username, theme, type, or size query params to customize the widget.
Advanced params are also supported:
hide_title=truehide_total=truehide_legend=trueshow_border=falseavatar=falseradius=12bg=0a0d12text=e8edf3border=232b36
/api/contributions?username=muhammad-muneeb3&theme=github&type=heatmap
/api/contributions?username=muhammad-muneeb3&theme=ocean&type=activity
/api/contributions?username=muhammad-muneeb3&theme=grape&type=streak
/api/contributions?username=muhammad-muneeb3&theme=rose&type=punch
/api/contributions?username=muhammad-muneeb3&theme=github&type=stats
/api/contributions?username=muhammad-muneeb3&theme=mono&type=summary
/api/contributions?username=muhammad-muneeb3&theme=ocean&type=profileThe API uses GitHub GraphQL, so the deployed app needs this Vercel environment variable:
GITHUB_TOKEN=your_github_personal_access_tokenUse a read-only GitHub personal access token. Never commit the token to the repository.
- Next.js
- React
- TypeScript
- GitHub GraphQL API
- Vercel
MIT
