Skip to content

terminalchai/statcards

Repository files navigation

StatCards

Generate beautiful GitHub stats cards — enter a username, pick a theme, export as PNG.

🚀 Live Demo → statcards.vercel.app


Features

  • 6 beautiful themes — Midnight, Dracula, GitHub Dark, Tokyo Night, Nord, Solarized
  • Rich stats — Stars, Repos, Forks, PRs, Followers + top languages bar
  • One-click export — High-res PNG download or copy to clipboard
  • Fully local — no backend, no API key, no uploads
  • CORS-safe — avatar pre-converted to base64 for clean exports

Tech Stack

React Vite Tailwind CSS

  • GitHub REST API — public endpoints, no auth required
  • html-to-image — high-res PNG export
  • Playwright — 42 automated tests across 3 viewports

Run Locally

git clone https://github.com/terminalchai/statcards.git
cd statcards
npm install
npm run dev

Tests

npx playwright test

42 tests across Desktop, Tablet, and Mobile viewports.


Built by Terminal Chai

About

Beautiful GitHub stats cards — 6 themes, PNG export, zero backend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors