Skip to content

Instantly share code, notes, and snippets.

View mahesh-projects's full-sized avatar

Mahesh Shivamallappa mahesh-projects

View GitHub Profile
@mahesh-projects
mahesh-projects / emdash-rp1-architecture.md
Last active April 8, 2026 23:59
rp1 on EmDash - Knowledge Graph Files

EmDash CMS — Architecture

Overview

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.

System Diagram

flowchart TD