Getting Started with Flare CMS
Set up your headless CMS on Cloudflare Workers with D1, R2, and a built-in admin dashboard.
Open-source headless CMS built on Cloudflare Workers, D1, and R2. Deploy globally in seconds, scale infinitely with zero cold starts.
Flare CMS leverages the latest Cloudflare technologies to provide a headless experience that is faster than traditional CMS architectures.
Runs entirely on Cloudflare Workers. D1 for database, R2 for media, KV for cache. No origin server needed.
Built-in content management UI with Quill rich text editor, media uploads, collection management, and user authentication.
RESTful JSON API with sorting and pagination. Scalar API docs at /docs. JWT authentication for protected routes.
Define content types with typed schemas. String, textarea, Quill rich text, media, select, datetime, and slug fields.
Draft, review, and publish workflow. Content versioning with history tracking. Scheduled publishing via cron triggers.
Standard REST API works with any framework — Astro, React, Vue, Svelte, or vanilla JS. Fetch your content from anywhere.
Collections are TypeScript objects with typed fields. The API is generated automatically.
import type { CollectionConfig } from '@flare-cms/core'
export default {
name: 'blog-posts',
displayName: 'Blog Posts',
schema: {
type: 'object',
properties: {
title: { type: 'string', title: 'Title', required: true },
slug: { type: 'slug', title: 'URL Slug' },
excerpt: { type: 'textarea', title: 'Excerpt' },
content: { type: 'quill', title: 'Content' },
featuredImage: { type: 'media', title: 'Image' },
author: { type: 'string', title: 'Author' },
},
required: ['title', 'slug', 'content', 'author']
},
listFields: ['title', 'author', 'status'],
defaultSort: 'createdAt',
defaultSortOrder: 'desc'
} satisfies CollectionConfig GET /api/collections/blog-posts/content
{
"data": [
{
"id": "content-blog-posts-d13a588a",
"title": "Deploying to the Edge",
"slug": "deploying-to-the-edge",
"status": "published",
"data": {
"title": "Deploying to the Edge",
"content": "Your content here...
",
"slug": "deploying-to-the-edge",
"author": "Jaime Aleman"
},
"created_at": 1770192000000,
"updated_at": 1770192000000
}
],
"meta": {
"count": 1,
"timestamp": "2026-03-02T00:00:00Z",
"cache": { "hit": true, "source": "kv" }
}
} Deep dives into edge computing and CMS architecture.
Set up your headless CMS on Cloudflare Workers with D1, R2, and a built-in admin dashboard.
Connect your Astro SSR site to the Flare CMS API running on Cloudflare Workers.
Forked from SonicJS and rebuilt as a monorepo. Here's what changed and why.
Flare CMS is 100% open-source and will always be. Join our growing community of developers building the future of content management.