Documentation
A flat-file CMS for Deno and Fresh that grows from Markdown content to full-stack web apps. Start without a database — add auth, a data layer, background jobs, and Preact islands when your project needs them.
Choose your path
Dune serves content editors, webmasters, and developers equally. Pick the path that matches your role:
Content Editor →
Write pages in Markdown, organize with folders, tag with taxonomies. No code required.
Webmaster →
Configure, deploy, and manage a Dune site. YAML config, CLI tools, multiple environments.
Developer →
Build themes with TSX templates and Preact islands, write plugins, add auth or a data layer, and extend the engine via API.
Documentation Sections
| Section | Description |
|---|---|
| Getting Started | Installation, quickstart, project structure |
| Content | Markdown, TSX, frontmatter, collections, taxonomies, media |
| Configuration | Site config, system config, programmatic config |
| Themes | Templates, Preact islands, inheritance, layouts |
| Deployment | Deno Deploy, traditional servers, CDN, graceful shutdown |
| Extending | Hooks, format handlers, plugins, email, payments |
| Authentication | Public site user auth, OAuth, magic links, content gating |
| Authorization | Role-based access control, polizy authz, route middleware |
| Reference | CLI commands, REST API, config schema |