A minimal, aesthetic contribution graph designed for Notion. It fetches your GitHub activity and renders it as a crisp heatmap that matches Notion's native UI perfectly.
| Dark Mode (Default) | Light Mode |
|---|---|
![]() |
![]() |
![]() |
![]() |
This project vibe coded itself.
Most GitHub graph generators are cluttered or don't look right when embedded. This one is built to be "invisible"—it adapts to Notion's light and dark modes, uses clean typography, and sticks to a minimal footprint.
- Precision Tooltips: Shows exact contribution counts on hover or tap. The positioning is smart—it won't get cut off at the edges.
- Yearly Navigation: Interactive controls to jump back through your history or view the last 365 days.
- Mobile First: Fully responsive with optimized touch targets for dragging through the graph on your phone.
- Zero Config: Just pass a username and it works.
- Manual Theme Switching: Swap between light and dark modes explicitly using a URL parameter.
The easiest way is to use the hosted version: https://r4khul.github.io/notion-github-graph/
Quick Embed: Add your username and preferred theme to the URL:
- Default (Dark):
https://r4khul.github.io/notion-github-graph/YOUR_USERNAME - Light Mode:
https://r4khul.github.io/notion-github-graph/YOUR_USERNAME?theme=light - Explicit Dark:
https://r4khul.github.io/notion-github-graph/YOUR_USERNAME?theme=dark
Alternative syntax:
https://r4khul.github.io/notion-github-graph/?user=YOUR_USERNAME&theme=light
In Notion:
- Copy the link with your username and theme choice.
- In your Notion page, type
/embed. - Paste the URL and hit enter.
- Resize the block to your liking.
If you want to run it yourself or tweak the styles:
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build- Username: Set via the trailing path or the
userURL parameter. - Theme: Set using
theme=lightortheme=dark. Default is dark mode. - Navigation: Use the arrows in the header to cycle through available years of data.



