Skip to content
@cloudcore-cms

CloudCore CMS

The free, open-source headless CMS for Cloudflare Workers. Self-hosted, MIT licensed. Block-based content with built-in passkeys.

Cloudcore CMS

A headless CMS built entirely on Cloudflare's edge infrastructure.

Cloudcore CMS runs on Cloudflare Workers with D1 (SQLite), R2 (object storage), and KV (cache) — no origin servers, no containers, no cold starts. One Worker, one database, deployed globally.


Repositories

Core

RepositoryDescription
cloudcore-cmsThe CMS — block-based content editor, 5 auth methods, RBAC, media library, audit logging
cloudcore-apiRead-only public API Worker — zero write operations, rate limited, CORS-ready
cloudcoreArchitecture reference and monorepo documentation

Frontend Starters

RepositoryFrameworkDescription
cloudcore-nextNext.jsApp Router starter with SSR/SSG, TailwindCSS, one-click deploy
cloudcore-reactReact + ViteSPA starter with React Query, React Router, TailwindCSS
cloudcore-astroAstroStatic site generator, zero JS by default, TailwindCSS

Extensions

RepositoryDescription
cloudcore-ecomE-commerce module — products, subscriptions, Stripe & PayPal integration
cloudcore-mcpModel Context Protocol server — manage your CMS from Claude, Cursor, or Windsurf
cloudcore-authAuthentication plugin (session-based admin auth)

Documentation

RepositoryDescription
cloudcore-cms.github.ioDocumentation & marketing site — cloudcore-cms.github.io

Tech Stack

  • Runtime: Cloudflare Workers (V8 isolates, deployed to 300+ edge locations)
  • Database: Cloudflare D1 (SQLite at the edge)
  • Storage: Cloudflare R2 (S3-compatible object storage)
  • Framework: Hono + Drizzle ORM + Zod
  • Admin UI: React + Vite + TailwindCSS + Tiptap
  • Language: TypeScript throughout
  • Testing: Vitest

Features

  • Block-based content — 13 block types including WYSIWYG, code, image, video, embed, and more
  • 5 authentication methods — Password, Passkeys (WebAuthn), Magic Links, GitHub OAuth, Google OAuth
  • Role-based access control — Admin, Editor, Contributor
  • Media library — R2 storage with magic byte validation and SVG sanitization
  • Revision history — Full content versioning
  • Audit logging — With sensitive field redaction
  • Public API — Separate read-only Worker for serving published content
  • AI integration — MCP server for managing content through AI assistants
  • E-commerce — Products, subscriptions, Stripe & PayPal (no PCI scope)
  • 0 npm audit vulnerabilities

Architecture

Internet --> cloudcore-api (public, read-only) --> D1 / R2
^
Cloudflare Access --> cloudcore-cms (admin) ----------|
|
AI Tools (MCP) --> cloudcore-mcp ----> cloudcore-cms --|

The CMS sits behind Cloudflare Access. The public API is a separate Worker with zero write capabilities — no auth endpoints, no admin routes, no mutations. Frontend starters connect to the public API.

Security

  • PBKDF2-SHA512 password hashing (210,000 iterations)
  • SHA-256 hashed session tokens with timing-safe comparison
  • CSRF protection (header + Origin + SameSite=Strict cookies)
  • Rate limiting on all endpoints
  • File upload validation (magic bytes + MIME whitelist)
  • SVG sanitization on upload
  • 10MB request body limit
  • Comprehensive audit logging with field redaction

Deploy

The CMS deploys as a single Cloudflare Worker. Frontend starters deploy to Cloudflare Pages, Vercel, or Netlify.

# CMS
git clone https://github.com/cloudcore-cms/cloudcore-cms
cd cloudcore-cms
npm install
npx wrangler deploy
# Frontend (pick one)
git clone https://github.com/cloudcore-cms/cloudcore-next # Next.js
git clone https://github.com/cloudcore-cms/cloudcore-react # React + Vite
git clone https://github.com/cloudcore-cms/cloudcore-astro # Astro

Links

License

MIT

Pinned Loading

  1. cloudcore-cmscloudcore-cmsPublic

    A dead-simple headless CMS built for developers + AI. ACF-style content blocks, runs anywhere.

    TypeScript 2

  2. cloudcore-reactcloudcore-reactPublic

    A Vite + React starter for Cloudcore CMS.

    TypeScript 1

  3. cloudcore-astrocloudcore-astroPublic

    An Astro starter for Cloudcore CMS.

    Astro 1

  4. cloudcore-apicloudcore-apiPublic

    A read-only, publicly-deployable API for serving published content from a Cloudcore CMS database. Deploy on `api.yourdomain.com` while keeping the CMS admin locked behind Cloudflare Access.

    TypeScript 1

  5. cloudcore-mcpcloudcore-mcpPublic

    MCP server for Cloudcore CMS. Let AI tools manage your website — create pages, write posts, upload media, manage categories and tags.

    TypeScript 1

  6. cloudcore-ecomcloudcore-ecomPublic

    E-commerce starter for Cloudcore CMS. Adds products, subscriptions, Stripe, and PayPal to your CMS.

    TypeScript 1

Repositories

Showing 9 of 9 repositories

Top languages

Loading…

Most used topics

Loading…