A simple, modern GitHub profile card generator that creates beautiful SVG cards with your GitHub stats.
- 🎨 4 Themes: Default, Light, Forest, and Special (gold accent)
- 📊 Rich Profile Data: Followers, Repositories, Following, Bio, Location, Join Date
- 🖼️ PNG Export: Recommended for maximum compatibility
- 💾 SVG Export: For vector graphics needs
- ⚡ Smart Caching: Reduces API calls with 10-minute cache
- 🛡️ Rate Limit Protection: 3-second cooldown between requests
- 👑 Creator Badge: Special recognition for
dryfish09
- Enter your GitHub username
- Click "Generate Card"
- Choose a theme (Default, Light, or Special)
- Download as PNG (recommended) or SVG
Note
GitHub Avatar in SVG: Due to CORS restrictions and external resource blocking, the avatar image in SVG format may not display correctly in some SVG renderers (including GitHub's built-in renderer). For best results, download as PNG instead.
Special Author Card is not compatible with Light Mode.
- Framework: Vanilla JavaScript (no dependencies)
- Rendering: SVG with Canvas fallback for PNG export
- Cache: localStorage (with automatic RAM fallback)
- API: GitHub Public API (rate limited to 60 req/hour)
- Themes: CSS custom properties for seamless switching
# Clone the repository
git clone https://github.com/dryfish09/card-svg-gen.git
# Open index.html in your browser
open index.htmlOr visit the live demo: dryfish09.github.io/card-svg-gen
# Push to GitHub Pages branch
git push origin main# Deploy the folder directly
# No build steps required - it's pure HTML/CSS/JS// In index.html, line ~280
const SPECIAL_USER = 'your-username';
const SPECIAL_NOTE = 'Your custom note';// In index.html, line ~270
const CACHE_TTL = 600; // seconds (10 minutes)// In index.html, line ~290-310
const COLORS = {
accent: '#58a6ff', // Primary color
gold: '#f0883e', // Special theme color
// ... etc
};MPL © dryfish09
- Data provided by GitHub API
- Inspired by shields.io


