Central backend infrastructure for the OpenCodeWEB ecosystem.
- Gateway worker:
src/index.ts→ deployed athttps://opencodewebservers.xup.workers.dev - Routes:
GET /api/sandbox/preview— Owner-only sandbox preview stage (Authorization: Bearer <OWNER_SECRET_TOKEN>)GET /api/public/list— Public auto-index registry forpocwu.pages.dev/SGET /health— Gateway health probe
- Deployment: Cloudflare Workers (
wrangler deploy); CI in.github/workflows/
| Secret | Purpose |
|---|---|
WEBHOOK_SECRET |
GitHub webhook HMAC verification secret |
OWNER_SECRET_TOKEN |
Owner (ABsUP) token for private sandbox preview |
npm i -g wrangler
wrangler devwrangler deployAuthoring standard: automated git mutations append the OpenCodeWEB[bot] + ABsUP dual-authorship commit trailer defined in the PRD.