Code Developer Tamagotchi-Style Digital Pet Dragon.
The more you code, the more your dragon grows. Watch it evolve based on your GitHub commits.
Interactive developer pet built with vanilla HTML/CSS/JS β connects to the GitHub API to track commit activity and evolve your dragon through 5 stages.
Your coding companion. Feed it commits, watch it evolve.
π SmartEdgeDM.github.io/commit-dragon
- Tamagotchi-style egg shell with animated glowing screen
- 5 dragon evolution stages driven by real GitHub commit data
- Evolution animation β dramatic glow effect when your dragon levels up
- π Dragon mood system β dragon reacts based on how many days since your last commit
- π₯ Commit fire calendar β GitHub-style contribution graph with fire heat levels
- Share card β download a shareable image of your dragon's current stage
- Live GitHub API integration β no login required
- Working buttons: Feed, Sync, and Play
- 8-bit sound effects for every interaction
- Dragon vitals: streak, activity, and power bars
- Recent commit feed with repo names and timestamps
- Dragon egg favicon in the browser tab
- SmartEdge brand colors throughout
- Built with zero dependencies β pure HTML, CSS & JS
Your dragon's mood changes based on how many days have passed since your last commit. Neglect your dragon and it will let you know!
| Mood | Days Since Last Commit | What Happens |
|---|---|---|
| π Happy | Today | Dragon floats cheerfully β thriving! |
| π Content | Yesterday | Normal float β still going strong |
| π€ Hungry | 3+ days | Dragon wiggles anxiously, egg dims |
| π© Starving | 7+ days | Egg fades further, dragon pleads on screen |
| π΄ Dormant | 14+ days | Egg goes grey, dragon barely moves |
| Stage | Commits Needed |
|---|---|
| π₯ Egg | 0 |
| π£ Hatchling | 5+ |
| π¦ Wyrmling | 20+ |
| π² Drake | 60+ |
| π Elder Dragon | 150+ |
- Open the live site
- Enter any GitHub username and hit Summon
- Use the buttons to interact:
- π Feed β your dragon reacts with a happy animation
- β³ Sync β fetches fresh data; triggers evolution animation if you levelled up
- β Play β your dragon spins with joy
- Hit share my dragon card to download a shareable PNG
commit-dragon/
βββ index.html # entire app β single file, zero dependencies
βββ screenshot.png # repo preview screenshot
βββ social-preview.png # og:image for social sharing
βββ CHANGELOG.md
βββ CONTRIBUTING.md
βββ CODE_OF_CONDUCT.md
βββ LICENSE
βββ README.md
Note: Only public repositories are visible via the GitHub API. Private repo activity won't count toward your dragon's XP.
We welcome contributions! Please read CONTRIBUTING.md before submitting a pull request.
Made with π by SmartEdge Marketing Β· Buy Me A Coffee