A self-hosted clone of htmlship.com on Cloudflare Workers + KV.
publish-cf publish report.html
| Method | Path | Purpose |
|---|---|---|
| POST | /api/v1/pages | Create page (returns slug + owner_key) |
| GET | /api/v1/pages/:slug | Metadata only |
| PATCH | /api/v1/pages/:slug | Update html/title/comments_enabled/password/expires_in/short_url (X-Owner-Key) |
| DELETE | /api/v1/pages/:slug | Delete (X-Owner-Key) |
| GET | /:slug | View rendered page (CSP enforced). Password-gated pages can be unlocked by viewer cookie or by sending X-Owner-Key. /v/:slug still resolves as an alias. |
| GET | /:slug/comments | List comments. Same auth: viewer cookie or X-Owner-Key. |
Endpoint: https://scratch.shyp.fyi