Instant visual identity for your GitHub projects
Social banners • Star history charts • Language distributions • Edge runtime
Snapt generates stunning visual assets for your GitHub repositories with zero configuration. Just use URL parameters to create beautiful social banners, star history charts, and language distributions.
The Problem:
Creating visual assets for GitHub projects:
- Manual design tools (slow)
- Static images (outdated data)
- Inconsistent branding
- No automation
The Solution:
Snapt - URL-based image generation:
- Dynamic GitHub stats ⚡
- Zero configuration 🎯
- Edge runtime (fast) 🚀
- Beautiful defaults 🎨
Result: Professional visual identity in seconds.
- 🎨 Social Banners - Stunning 1280×640px banners with live GitHub stats
- 📊 Star History - Elegant charts showing repository growth over time
- 🌈 Language Stats - Visual breakdown of your codebase languages
- 📈 Live Data - Real-time GitHub API integration
- ⚡ Lightning Fast - Edge runtime with smart caching
- 🔧 Zero Config - Just URL parameters, no setup needed
- 🎯 Fully Customizable - Colors, themes, content via URL
- 🌐 Edge Network - Global CDN for instant delivery
Generate a stunning social preview banner:
GET /api/banner?title=MyProject&tagline=Amazing description&features=Fast,Secure,Simple,Elegant&gradient=667eea,764ba2&icon=🚀&repo=owner/repo
Parameters:
| Parameter | Type | Description | Default |
|---|---|---|---|
title |
string | Project name | Required |
tagline |
string | One-line description | Required |
features |
string | Comma-separated features (max 4) | Required |
gradient |
string | Two hex colors without # | Required |
icon |
string | Emoji icon | Required |
theme |
string | modern or dark |
modern |
repo |
string | owner/repo for live GitHub stats |
- |
showStats |
boolean | Show stats badges | true |
Visualize your repository's star growth:
GET /api/star-history?repo=owner/repo
Parameters:
| Parameter | Type | Description |
|---|---|---|
repo |
string | Repository in format owner/repo (Required) |
Show language breakdown as a donut chart:
GET /api/languages?repo=owner/repo
Parameters:
| Parameter | Type | Description |
|---|---|---|
repo |
string | Repository in format owner/repo (Required) |
/api/banner?title=Silk&tagline=Zero-runtime CSS-in-TS with 92% smaller bundles&features=Type-safe styling,Zero runtime overhead,Full TypeScript support,92% smaller&gradient=667eea,764ba2&icon=🎨&theme=modern&repo=SylphxAI/silk
/api/star-history?repo=SylphxAI/zen
/api/languages?repo=SylphxAI/benchmark
# Clone repository
git clone https://github.com/SylphxAI/snapt.git
cd snapt
# Install dependencies
bun install
# Run development server
bun devVisit http://localhost:3000
# Build
bun run build
# Start production server
bun startAdd a GitHub Personal Access Token for higher API rate limits:
- Create token at https://github.com/settings/tokens
- Required scope:
public_repo - Add to
.env.local:
GITHUB_TOKEN=your_token_hereRate Limits:
- Without token: 60 requests/hour
- With token: 5,000 requests/hour
# Install Vercel CLI
bun install -g vercel
# Deploy
vercelSet GITHUB_TOKEN in Vercel dashboard:
- Go to Project Settings
- Add Environment Variable
- Name:
GITHUB_TOKEN - Value: Your GitHub token
| Component | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Runtime | Bun |
| Image Gen | @vercel/og |
| Language | TypeScript (strict) |
| Styling | Tailwind CSS |
| Linter | Biome (50x faster) |
| API | GitHub REST API |
Upload generated banners to repo settings for beautiful social cards:
- Twitter/X link previews
- LinkedIn shares
- Discord embeds
Embed dynamic images in your documentation:
Share beautiful repo cards:
- Visual portfolios
- Project showcases
- Release announcements
Create visual dashboards of your projects:
- Star growth tracking
- Language distributions
- Activity visualization
All images are fully customizable via URL parameters:
Colors:
- Any hex gradient combination
- Predefined theme presets
Themes:
modern- Glassmorphism with vibrant gradientsdark- Premium dark mode with subtle accents
Content:
- Title, tagline, features
- Emoji icons
- Custom branding
Stats:
- Automatic GitHub data
- Live star counts
- Fork counts
- Issue/PR stats
✅ Completed
- Social banner generation
- Star history charts
- Language distributions
- Edge runtime deployment
- GitHub API integration
🚀 Next
- Contributor avatars
- Activity heatmaps
- Custom themes API
- Batch generation
- Premium templates
- 🐛 Bug Reports
- 💬 Discussions
Show Your Support: ⭐ Star • 👀 Watch • 🐛 Report bugs • 💡 Suggest features • 🔀 Contribute
MIT © Sylphx
Built with:
- @vercel/og - Image generation
- GitHub REST API - Repository data
- Next.js - React framework
Special thanks to the open source community ❤️
Instant visual identity. Zero configuration. Beautiful defaults.
The GitHub image generator that actually makes sense
sylphx.com •
@SylphxAI •
hi@sylphx.com