A serverless API that generates an SVG donut chart of your most-used programming languages across your GitHub profile. Built with pure Node.js, deployed on Vercel, and designed to be embedded directly in a GitHub README.
- Donut chart with a visual breakdown of your top languages
- Three themes —
tokyonight,dark, andlight - Zero production dependencies — only uses Node.js built-ins
- GitHub-safe SVG — fully inline styles, no external CSS, JS, or fonts
- Hourly cache — results refresh automatically every hour
- Languages beyond the configured limit are grouped into an "Other" bucket
| Tokyo Night | Dark | Light |
|---|---|---|
Add this to your GitHub profile README.md:
Replace YOUR_GITHUB_USERNAME with your GitHub username.
| Parameter | Required | Default | Description |
|---|---|---|---|
username |
Yes | — | GitHub username |
theme |
No | tokyonight |
Card theme: tokyonight, dark, or light |
max_langs |
No | 8 |
Number of languages to display (1–20) |
<!-- Default (tokyonight, 8 languages) -->

<!-- Dark theme, top 5 languages -->

<!-- Light theme, centered -->
<p align="center">
<img src="https://vani-stats.vercel.app/api?username=TheOneOh1&theme=light" alt="Top Languages" />
</p>MIT