duo-commit

A high-performance, self-hosted dynamic SVG generator for displaying combined GitHub and GitLab contributions on your profile README.

Available Endpoints

1. The Heatmap Grid

A 365-day combined contribution grid. Dual-contribution days are rendered with a diagonal gradient.

GET /api/grid?theme=tokyonight

2. Open Source Impact

Highlights your total merged PRs/MRs and lines of code changed.

GET /api/impact?theme=cyberpunk

3. Dual-Platform Stats

Displays a share ratio bar chart of your activity across both platforms.

GET /api/stats?theme=dracula

4. Unified Polyglot Stack

Visualizes your real stack usage (Backend, Frontend, Embedded/CLI) across top projects.

GET /api/polyglot?theme=catppuccin

5. Animation Showcase

Dynamically wrap and theme your own SVG animations (requires placing an animation.svg file in public/showcase/).

GET /api/showcase?theme=tokyonight&border=true

Special Features

🐱 Animated Pixel Kitty

Append ?kitty=true (or &kitty=true) to any endpoint to summon a cute, theme-aware, pure CSS animated pixel cat that wanders across your SVGs!

How to use

Once deployed, simply embed these endpoints into your GitHub README.md as images:

![Duo Commit Grid](https://your-deployment-url.vercel.app/api/grid)