CMSv2
A Ghost-compatible headless CMS running on Cloudflare Workers.
Content API
Public, read-only endpoints. Authenticate with ?key=YOUR_CONTENT_API_KEY
GET /api/content/posts/GET /api/content/posts/:id/GET /api/content/posts/slug/:slug/GET /api/content/pages/GET /api/content/tags/GET /api/content/authors/GET /api/content/settings/
Admin API
Authenticated CRUD endpoints. Use Authorization: Ghost <jwt>
GET/POST /api/admin/posts/GET/PUT/DELETE /api/admin/posts/:id/POST /api/admin/images/upload/
Getting Started
- 1. Run
pnpm db:pushto apply the schema to D1. - 2. Run
pnpm db:seedto create a default user, integration, and sample content. - 3. Use the Content API key from the seed output to query the API.