DEV Community

Cover image for When I was a kid I was obsessed with Tamagotchis.
David Sellam
David Sellam

Posted on

When I was a kid I was obsessed with Tamagotchis.

Fed mine at 2am, panicked when it flatlined during class, the whole thing. Never grew out of it, apparently, I just built one for adults who write code instead of feed pixels.

**Meet Gitgotchi: **a tiny creature that lives in your terminal, and whose health and mood are a direct readout of your repo's state. Failing tests make it sick. Stale branches make it lonely. A fresh commit feeds it. Climbing test coverage helps it evolve. No dashboards, no linter nagging you about best practices just a small pet giving you sad eyes because you haven't committed since Tuesday.

Zero config: run npx gitgotchi in any git repo and you meet your creature in under 5 seconds, using nothing but git + grep. CI and coverage hookups are optional upgrades later.

I'm building it fully in the open, TDD all the way every milestone starts with failing tests before I write a line of implementation. The "game logic" is 100% pure functions, no side effects, so the whole creature is deterministic and fully testable, which honestly feels like the most satisfying part of this so far.

Still early days collectors, the mood engine, and the terminal UI are in progress. Next up is a shareable card so you can post your pet's stats (and its decline).
If your inner ten-year-old also just wants their repo to have a face, this one's for you.

Top comments (0)