Realms GOS (Governance Operating System) runs communities on the Internet Computer. A realm is a canister that holds a community's members, departments, votes, treasury, land, licences and courts. Its rules are code (a codex), its features are extensions, and every action is checked by one Cedar policy set.
pipx install --pip-args=--pre realms-gos
realms local start # a realm, a file registry and the web UI, on your machine
realms local status # the URLsGetting started continues from there: publish a codex and extensions, launch the realm and call its operations.
All documentation is in docs/:
| Architecture | Canisters, operations, Cedar, sandboxing, governance, federation, trust |
| Design choices | The criteria behind the design |
| GGG | The standard: every entity, operation and rule |
| Extensions | Build, test and publish an extension |
| Codices | Build, test and publish a codex |
| Deployment | Releases and the product orchestra |
| Contributing | Rules, layout and testing |
| Path | What |
|---|---|
src/realm_backend |
The realm (Python on Basilisk) |
src/realm_frontend |
The realm's web app (SvelteKit) |
src/marketplace_* |
The marketplace canisters |
cli/ |
The realms CLI (realms-gos on PyPI) |
packages/ |
npm packages for extension UIs |
extensions/, codices/ |
First-party extensions and codices (submodules) |
tests/ggg |
The backend's tests |
Realms that people create are deployed by gos-as-a-service; the product canisters by Casals.