Easiest: the hosted beta

Nothing to install. Open swmm.h2ox.me, draw a small area, pick dates, and click Build SWMM model.

The demo runs on a small server (~2 GB RAM), so it works best for small areas; large regions can run out of memory and fail. For large-scale modeling, self-host the frontend and backend on a bigger machine or an HPC cluster — both run well as shipped.

Run it yourself

Every command below has a copy button.

Docker · GHCR

Pull the prebuilt backend image

The quickest local path — the API comes up on port 8000 (all tags).

docker run --rm -p 8000:8000 ghcr.io/zhonghao1995/swmmcanada:latest
# API on http://localhost:8000  ·  health: /api/v1/healthz

Self-hosting in production

Running the whole thing in production — the backend as a container (GHCR image) and the frontend as a static site (GitHub Pages), and how the two are wired — is documented step by step in DEPLOY.md.