GitHub

Open source · for personal use · on Steam soon

Your code is a city.

Software City turns any codebase into a living 3D blueprint. Folders become districts, files become buildings, functions become floors. Then the bugs crawl out.

Behind this text: Software City's own source, 113 files, as the app draws it.

01

Folders are districts.

Every folder is a plate on the drafting table, nested like the real tree, with its name written on the ground. Big folders are big neighbourhoods; a sprawling utils shows up from orbit.

02

Files are buildings.
Functions are floors.

A floor's height is the function's length; its colour is its complexity, from calm blue to alarm red. Tall red towers are where the hard code lives.

simplecomplex

03

Imports arc across the skyline.

Every import is an amber arc with packets travelling along it. Inside the app, calls run between floors as pipes, data flow in amber and mint, recursion as a yellow loop. Click any building and its code opens beside it.

04

Then the bugs come out.

19 detectors hunt for long and tangled functions, deep nesting, swallowed exceptions, circular dependencies, god objects and more. Each finding glows beside the floor it lives on, coloured by severity.

  • Long Function
  • Deep Nesting
  • High Cyclomatic Complexity
  • Recursion Without Clear Base Case
  • God Object
  • Leaky Encapsulation
  • Refused Bequest
  • Tight Coupling
  • Duplicated Code
  • Swallowed Exception
  • Callback Pyramid
  • Circular Dependency
  • Leaky Abstraction
  • Public Mutable State
  • Untested Recursive Update
  • TODO Comment
  • Magic Number
  • Inconsistent Naming
  • Risky Third-Party Dependency

Export every finding as CSV with the code excerpt and a ready prompt, and let your coding AI sort the real bugs from the false alarms.

Codescapes

Famous open source, seen as cities.

We opened 13 well-known web projects in the real Software City app: 5,932 files, 1,210,218 lines and 41,747 functions, surveyed in the browser in seconds. Scroll to fly from one city to the next.

Surveyed from shallow clones on 26 October 2026 with the app's own file rules; very large repositories are shown by their main source folder.

01 / 13 · facebook/react · packages/react-reconciler

React

The reconciler at the heart of React: fibers, lanes and the work loop.

files
175
lines
114,383
functions
3,826
bugs
1,054

JavaScript · Markdown · JSON · surveyed in 808 ms

02 / 13 · vuejs/core · packages

Vue

Vue 3's monorepo: reactivity, the compiler and the runtime, side by side.

files
516
lines
158,772
functions
4,942
bugs
775

TypeScript · HTML · Markdown · surveyed in 1,165 ms

03 / 13 · sveltejs/svelte · packages/svelte/src

Svelte

A compiler that writes your framework away at build time.

files
380
lines
67,869
functions
2,366
bugs
712

JavaScript · TypeScript · surveyed in 1,056 ms

04 / 13 · preactjs/preact

Preact

React's API in a famously small footprint.

files
274
lines
56,054
functions
2,904
bugs
123

JSX · JavaScript · TSX · surveyed in 483 ms

05 / 13 · expressjs/express

Express

The minimalist Node.js web framework: a small, dense town.

files
177
lines
27,128
functions
336
bugs
20

JavaScript · Markdown · YAML · surveyed in 168 ms

06 / 13 · jquery/jquery · src

jQuery

The library that shaped the early web, organised by module.

files
138
lines
10,685
functions
374
bugs
112

JavaScript · surveyed in 106 ms

07 / 13 · lodash/lodash

Lodash

Hundreds of small utilities: a suburb of tidy one-floor houses.

files
49
lines
64,449
functions
783
bugs
52

JavaScript · Markdown · HTML · surveyed in 304 ms

08 / 13 · axios/axios

Axios

The promise-based HTTP client, adapters and interceptors.

files
460
lines
83,281
functions
1,558
bugs
124

JavaScript · Markdown · JSON · surveyed in 486 ms

09 / 13 · mrdoob/three.js · src

three.js

The 3D library that draws these cities, seen as one itself.

files
757
lines
187,931
functions
5,443
bugs
1,230

JavaScript · Markdown · surveyed in 2,050 ms

10 / 13 · twbs/bootstrap · js/src

Bootstrap

Bootstrap's JavaScript components: modals, dropdowns, tooltips.

files
34
lines
10,723
functions
603
bugs
44

TypeScript · surveyed in 444 ms

11 / 13 · vitejs/vite · packages/vite/src

Vite

The dev server and build tool, node side and client side.

files
500
lines
69,825
functions
2,166
bugs
643

TypeScript · JavaScript · JSON · surveyed in 1,247 ms

12 / 13 · laravel/framework · src/Illuminate

Laravel

PHP's most popular framework: a metropolis of service providers.

files
1,862
lines
281,649
functions
13,567
bugs
1,095

PHP · JSON · Markdown · surveyed in 4,221 ms

13 / 13 · withastro/astro · packages/astro/src

Astro

The content-first web framework this kind of site is built with.

files
610
lines
77,469
functions
2,879
bugs
900

TypeScript · Markdown · surveyed in 1,325 ms

Your turn

Take the controls.

Pick a city and fly through it yourself: drag to orbit, scroll to zoom, right-drag to pan. Point at a building to see which file it is.

One core, three ways to use it

Free · open source

Software City

The web app: open a folder and walk your code as a city, read every function in place, trace calls, draw class, module, sequence and data-flow diagrams, and learn 98 design patterns with real-code demos. Runs entirely in your browser, offline.

Source and downloads

Steam · Early Access soon

Software City: Patrol

The game. Patrol your own codebase, triage each bug as real or false, or survive the Bug Swarm before it blows your code up. Windows, macOS and Linux.

For schools · coming

Software City Edu

Classes and cohorts for schools, universities and bootcamps: assignments on real codebases, progress per pattern, and a teacher's view of who understands what.

Ask about Edu

Bring the bugs back to work

One click exports every finding with its location, the detector's reasoning, the code excerpt and two empty columns for your reviewer. A companion prompt tells your coding AI to mark each one real_bug, real_smell or false_positive, and fix the real ones first.

bug_id,severity,detector_name,file,line,function,message,ai_verdict
B0001,critical,Swallowed Exception,src/store.js,89,__reset,"__reset() catches an exception and does nothing",
B0002,major,Long Function,src/app.js,11,mount,"mount() is 347 lines long",
B0003,minor,Magic Number,src/city.js,566,flyTo,"Magic number 2.6 in flyTo()",

Free for you. Fair for business.

Personal & education

Free

  • Personal projects, hobby code, study and research
  • Schools, universities, charities and public bodies
  • Read, change and share the code noncommercially

PolyForm Noncommercial 1.0.0. Keep the credit lines in every copy.

Commercial

Licence

  • Use at work, for clients or inside a company
  • In a product, a hosted service or paid training
  • Annual, perpetual or per project; EU VAT invoices
Request a quote

Next: fly through it in VR

WebXR flight through your codebase, straight from the browser on a Quest or with SteamVR: the city at table-top or walk-in scale, the inspector on your wrist, the bugs floating beside their floors. After that: deeper Python, Go, Java and Rust, more detectors, and precise call graphs from language-server indexes.

Read the roadmap