Your code builds a tiny city

A cozy idle game that lives on your desktop. Every line of code you add brings someone to your pixel town, and the town grows from a hamlet into a city of the future.

How it works

Step 1

Code as usual

Pick the folders your git repos live in. The app reads your local git history to count the lines you add and remove. It never reads your code or changes your repos.

Step 2

Watch it grow

Lines you add bring people in, lines you delete move them out, and bigger towns unlock new building sets. Big milestones transform the whole street.

Step 3

Come back anytime

Days off bring rain and evening lights, the sky follows your clock, and the map keeps expanding as you do. Badges you earn stand for good in your Trophy Park.

Lives where you work

Pick one, or use all three.

Floating window

A small always-on-top city you can drag to a corner, with today's stats and a build menu.

Pop-up toasts

A short card each time something is built, showing the commit message that made it.

Notch strip

A tiny animated skyline in the MacBook notch that expands into today's city when you hover.

Local, or on the leaderboard

Ranked by population only: the lines you've added minus the lines you've removed since your city joined. Opt in during setup, or keep your city entirely on your own machine.

Click a city to visit it and see its Trophy Park.

Sample data
# City Population
1Nightowl Heights12,480
2Mergeport9,215
3Tiny Town7,860
4Branchwick4,102

Your code stays yours

Sent only if you join

  • Your city name
  • Daily counts of lines added and removed
  • Your population, build picks and earned badges

Never leaves your machine

  • Source code and diffs
  • Repository names and paths
  • Commit messages

Delete your leaderboard data any time from the app.

Build it yourself

Commit City is free and open source. There are no app-store downloads: you build the app for your own computer (Windows, macOS or Linux) in two commands. pnpm build:live first checks your computer and tells you exactly what's missing.

git clone <the Commit City repo>
cd commit-city
pnpm install
pnpm build:live

The installer it prints joins the global leaderboard if you choose to.