Skip to content

TheOneOh1/Vani-Stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Language Stats Card

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.

Top Languages


Features

  • Donut chart with a visual breakdown of your top languages
  • Three themestokyonight, dark, and light
  • 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

Themes

Tokyo Night Dark Light
tokyonight dark light

Use It in Your Profile README

Add this to your GitHub profile README.md:

![Top Languages](https://vani-stats.vercel.app/api?username=YOUR_GITHUB_USERNAME&theme=tokyonight)

Replace YOUR_GITHUB_USERNAME with your GitHub username.

Query Parameters

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)

Examples

<!-- Default (tokyonight, 8 languages) -->
![Top Languages](https://vani-stats.vercel.app/api?username=TheOneOh1)

<!-- Dark theme, top 5 languages -->
![Top Languages](https://vani-stats.vercel.app/api?username=TheOneOh1&theme=dark&max_langs=5)

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

License

MIT

About

Serverless API that generates SVG donut charts of your top GitHub languages. Zero dependencies, three themes, drop it in your README.

Topics

Resources

Stars

Watchers

Forks

Contributors