World CMS GENUBRA · Live Laugh Engine
Idle. Load the current world to begin.
How it works.
Load current reads GET /api/world (KV world:current, or the
code default if KV is empty). Edit the JSON, then Save to live writes it to
POST /admin/world (KV world:current) — the public page picks it up on next load.
Reset to seed calls POST /admin/seed to restore the shipped demo world.
Both writes require the ADMIN_TOKEN (sent as the x-admin-token header). If the token
is unset on the Worker, writes are locked (401) — set it with
wrangler secret put ADMIN_TOKEN. The token is held only in memory (and optional
sessionStorage via Remember); it is never written to KV or logged.
Keep at least persona and brand on the object or the save is rejected (422).