EmDash is an Astro-native, database-first headless CMS distributed as the emdash npm package. It runs as an Astro integration that injects admin routes, REST API endpoints, and a middleware chain into any Astro 6+ project. Schema is stored in the database—not in code—and each content collection gets a real SQL table (ec_*). Multiple database backends (SQLite, libSQL/Turso, PostgreSQL, Cloudflare D1) and storage backends (local filesystem, S3/R2) are supported through unified adapter interfaces. A WordPress-inspired plugin system with trusted and V8-isolated sandboxed modes extends the CMS at runtime.
flowchart TD