- Shell 77.1%
- TypeScript 15.1%
- Python 6.6%
- HTML 1.1%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| .sandcastle | ||
| communities | ||
| docs | ||
| e2e | ||
| packages/schema | ||
| scripts | ||
| server | ||
| site | ||
| templates | ||
| tools | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| Caddyfile | ||
| CLAUDE.md | ||
| CONTEXT.md | ||
| Makefile | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| STATUS.md | ||
| tsconfig.base.json | ||
| vitest.config.ts | ||
COA — Community Owned App
Communities design their own version of the Matou app: their brand, their onboarding process, their features, their backend. They fill in a form at coa.matou.nz and receive an email linking to a branded downloads page (Windows, macOS, Linux, Android).
Spec: docs/superpowers/specs/2026-08-27-coa-design.md. Phases: see spec §2.
Plan (phases 0–1): docs/superpowers/plans/2026-08-27-coa-phase-0-1.md.
Glossary CONTEXT.md · status STATUS.md · process docs/PROCESS.md · hazards docs/GOTCHAS.md ·
standards docs/CODING-STANDARDS.md · decisions docs/adr/ · tracker docs/agents/.
Layout
packages/schema— zod schemas shared by site and server (what a submission is)server— Hono API (/api/health,/api/validate-backend,/api/submit)site— Vite + React + Tailwind landing page and application formtools/stub-config-server.ts— fixture config server for tests and e2ecommunities/— generated per submission (phase 2+).sandcastle/— dev-factory harness (vendored, do not hand-edit)
Develop
make install
make dev # site :5173, server :8787
make test # vitest, all packages
make typecheck # tsc across all packages
make build # production build of all packages
make stub-config # fixture config server on :3904
make e2e # playwright (starts site, server, stub)
make build-app SLUG=… # trigger the build after the whakawhanaungatanga session
make rebuild SLUG=… # re-dispatch a build
make provision SLUG=… # retry a failed tenant
make resend SLUG=… KIND=installers-ready
Deploy
Host serves site/dist and communities/ statically and proxies /api to the server on :8787 — see Caddyfile. Run the server with pnpm --filter @coa/server start under systemd; env from .env (see .env.example).