A customizable GitHub contribution heatmap generator with different themes and shapes! Create cute visualizations of your coding activity with pastel colors, cute shapes, and gradient borders.
- 10 Colour Themes: Pink, Lavender, Mint, Blue, Cotton Candy, Sunset, Ocean, Forest, Berry, Peach
- 5 Cute Shapes: Rectangles, Hearts, Sparkles, Flowers, Clouds
- Gradient Borders: Optional colorful borders using all theme colors
- Simple Design: Minimalist layout without text labels for a modern look
- Customizable: Choose colors, shapes, and border options
Theme | Colors | Preview |
---|---|---|
Pink | Soft pink gradient | ?color=pink |
Lavender | Purple gradient | ?color=lavender |
Mint | Fresh green gradient | ?color=mint |
Blue | Cool blue gradient | ?color=blue |
Cotton Candy | Pink to blue gradient | ?color=cottoncandy |
Sunset | Pink to orange gradient | ?color=sunset |
Ocean | Blue gradient | ?color=ocean |
Forest | Green gradient | ?color=forest |
Berry | Pink to purple gradient | ?color=berry |
Peach | Peach gradient | ?color=peach |
Shape | Symbol | Preview |
---|---|---|
Rectangles | Rounded squares | ?shape=rect |
Hearts | Heart symbols | ?shape=hearts |
Sparkles | Sparkle symbols | ?shape=sparkles |
Flowers | Flower symbols | ?shape=flowers |
Clouds | Cloud symbols | ?shape=clouds |
https://cute-heatmap.vercel.app/api/heatmap?user=username
https://cute-heatmap.vercel.app/api/heatmap?user=username&color=cottoncandy&shape=clouds
https://cute-heatmap.vercel.app/api/heatmap?user=username&color=pink&shape=hearts&border=false
user
(required): GitHub usernamecolor
(optional): Theme color (default:pink
)shape
(optional): Shape style (default:rect
)border
(optional): Show gradient border (default:true
)
/api/heatmap?user=username&color=cottoncandy&shape=clouds
/api/heatmap?user=username&color=sunset&shape=sparkles
/api/heatmap?user=username&color=berry&shape=hearts
/api/heatmap?user=username&color=mint&shape=flowers
/api/heatmap?user=username&color=pink&shape=rect
/api/heatmap?user=username&color=ocean&shape=clouds&border=false
You can use the live API directly without any setup:
https://cute-heatmap.vercel.app/api/heatmap?user=yourusername&color=pink&shape=hearts
Limitations:
- Only shows public contributions
- Rate limited to 5,000 requests/hour
- Cannot access private repository data
If you want to show contributions from private repositories, you'll need to deploy your own instance:
-
Fork or clone this repository
-
Create a GitHub Personal Access Token:
- Go to GitHub Settings → Developer settings → Personal access tokens
- Generate a new token with
read:user
andrepo
permissions - Copy the token (starts with
ghp_
)
-
Deploy to Vercel:
- Connect your repository to Vercel
- Add environment variable:
GITHUB_TOKEN
= your token - Deploy
-
Use your own API:
https://your-vercel-domain.vercel.app/api/heatmap?user=yourusername&color=berry&shape=clouds
Benefits of your own deployment:
- Access to private repository contributions
- No rate limiting from shared tokens
- Full control over your data
- Can customize the code if needed
- Clone the repository
- Install dependencies:
npm install
- Create
.env
file with your GitHub token:GITHUB_TOKEN=ghp_yourTokenHere
- Run locally:
npm run dev
- Visit:
http://localhost:3000/api/heatmap?user=username
GITHUB_TOKEN
: Your GitHub personal access token
The heatmap supports:
- 10 color themes with beautiful gradients
- 5 shape options for different styles
- Optional gradient borders using theme colors
- Customizable padding and spacing
- Clean, minimal design without text labels
- Never commit your GitHub token to the repository
- Use environment variables for sensitive data
- For private contributions, users should deploy their own instance
- The API only accesses public contribution data by default
MIT License - see LICENSE file for details.