3D visualization of the GitHub contributions graph. Each day of the year is a bar; bar height reflects commit count.
- 3D scene built with Threlte / Three.js
- GitHub username search with validation and error handling
- Year selection: dropdown, ← → arrows, and 5 / 10 / 15 year range presets
- Click a bar to zoom in and show the date and commit count
- On-screen Control key indicator (⌃ on Mac, Ctrl elsewhere)
| Left mouse button | Right mouse button | |
|---|---|---|
| Without Control | Rotate | Pan |
| With Control | Pan | Rotate |
Mouse wheel — zoom in / out.
The control panel sits at the bottom of the screen:
- Top row — GitHub username field and load button (Enter or →)
- Bottom row — year range toggles (5 / 10 / 15), arrows, and year selector
Top-left — visual hint for the Control key.
Contributions are fetched from gh-contributions-api:
GET https://gh-contributions-api.vercel.app/{username}/{year}
The default profile is d256sh.
npm install
npm run devOpen http://localhost:5173.
| Command | Description |
|---|---|
npm run dev |
Dev server |
npm run build |
Production build |
npm run preview |
Preview production build |
npm run check |
Type check (svelte-check) |
npm run lint |
ESLint + Prettier |
npm run format |
Format code |
- SvelteKit
- Threlte + Three.js
- camera-controls
- Svelecte