How to run your website
Plain English for OWNER. Save live when the Owner API is up. Matches the Owner manual.
1. Sign in
- Bookmark
/admin/login.html. - Enter your passphrase → Continue.
- Default starter (change soon):
BelowTheShow-Owner - Sign-in also stores an Owner API token (hash only) so Save live works.
Not bank-grade yet. Production: Cloudflare Access in front of /admin/. Also set Pages secret OWNER_PASS_SHA256 to the same hash as owner.config.json.
2. Is my site OK?
Home shows LIVE, ON HOLD, or STOPPED, plus player count, rankings tip, Wire, and People.
3. People / Users
- Top strip → People (also a big Home card).
- Live registry table: email, name, plan, logins, last login, engagements, last active, avatar.
- Search / sort / export CSV. Open Detail for page buckets and actions.
- Public users register via Account; login counts and engagement update on www automatically.
- Optional: expand “This browser” to push older local-only staging accounts live.
4. Subscribers
Honest empty until GO PAID + Stripe. No invented customers.
5. Publish / pause — Save live
- See status.
- Choose: public · hold · emergency stop.
- Tap Save live — writes through the Owner API (KV on www, or the local file API on the box).
- Backup: copy note / download patch only if the API is down.
Zip-only dashboard uploads do not attach Functions. Use wrangler pages deploy with functions/ + KV binding BTS_KV. See site/staging/FUNCTIONS.md.
6. Rankings & player count
Consensus tip and census / Wire samples. Rebuilds stay with Joshua.
7. Domain & hosting
Wix registrar · Cloudflare Pages host · Access later for /admin.
8. Ship a change
- Status toggles: Save live (no full redeploy once Functions are bound).
- HTML/CSS/JS: still need a Pages deploy (prefer wrangler so Functions ship).
9. Who does what
- You — Owner Console, Save live, People, checklists.
- Cloudflare — host, DNS, Functions, KV, Access.
- Stripe — after GO PAID.
- Joshua — binds KV/secrets, rebuilds, deploys when needed.
Law: ADDENDUM-ADMIN · elite + live · 2026-09-29
Live write APIs
Primary action everywhere is Save live. Bearer token from Owner sign-in.
GET/PUT /api/admin/status— publish / pause / killGET/PUT /api/admin/accounts— People / AccountsGET/PUT /api/admin/subscribers— paid seats + GO PAID requestGET /api/admin/health— live write probe
Offline fallback (download / ask Joshua) only if the API is unreachable — temporary until KV is bound.