Skip to content
mindlacePublic

About

SF housing simulator — paint zoning, see buildings and units

Resources

Stars

6 stars

Watchers

0 watching

Forks

Latest commit

 

History

338 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SF Housing

A free, open-source educational game about housing in San Francisco. Paint zoning until there is room for the homes goal, then play the city's forecast in short runs: collect units from the homes it builds and spend them on real policy levers, until the goal is met as early as the full set of levers allows. Plans and policies can be published.

Built with SvelteKit 2, Svelte 5 and Tailwind 4 on Cloudflare Workers (D1 + R2). No paid APIs or vendor keys are needed to run or build it.

Quick start

nvm use
npm install
npx playwright install chromium   # browser for client tests and e2e (the one download beyond npm)
echo 'PUBLIC_DATASET_VERSION=fixture-0' > .dev.vars   # dev override: serve the fixture dataset
npm run data:fixture   # fixture dataset into local R2
npm run db:migrate     # local D1
npm run dev

Run the checks with npm run check, npm run lint and npm test.

Documentation

Contributor and agent guidance lives in CLAUDE.md, which indexes the developer docs in docs/dev/. Design documents and specs are under docs/superpowers/.

Licences

  • Code: MIT, see LICENSE.
  • Data: the OpenStreetMap/Protomaps basemap and Overture Maps data are under the ODbL; DataSF data is under the PDDL / public domain. Derived files served under /data/ that incorporate OpenStreetMap or Overture data are made available under the ODbL 1.0. Sources, vintages and licences for the current dataset are listed in the app at /about.

Generated buildings use parcel-fitted terraces, divided rooflines, slabs, shoulders, offset towers and paired towers with restrained geometry and flat colors. Estimated housing capacity under the modeled building forms, not a forecast. Reopening a saved plan uses the current building model, so its appearance and estimated totals can change.

About

SF housing simulator — paint zoning, see buildings and units

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages