Documentation
Everything you need to build, manage, and deploy sites with Lumenpages CMS — a lightweight, edge-native headless CMS that runs as a single Cloudflare Worker.
Quick Start
Scaffold a project, run it locally, and deploy to the edge in minutes.
Template Syntax
Interpolation, conditionals, loops, and components — HTML with a light expression layer.
Pages & Layouts
Every URL is a page. Layouts wrap content to kill boilerplate.
Components
Reusable template fragments with props, CSS, JS, and defaults.
Data Sources
SQL queries, external JSON, and R2 files resolved in parallel into templates.
Media & Files
Signed R2 URLs, direct uploads, and on-the-fly image transforms.
Image Optimization
Format negotiation, sizing, srcset, lazy loading, and quality — at the edge.
Forms
Validated public endpoints with captcha and honeypot support.
Custom Tables
Structured content — posts, products, anything — queryable from templates.
Custom Handlers
Sandboxed JS endpoints with full control of the request/response cycle.
Webhooks
Signed event deliveries for content and form changes.
MCP & Agents
Let opencode, Claude Code, or Cursor manage your content conversationally.