SYSTEM ARCHITECTURE · OPENDASH CMS

Designed as a compact, deterministic monolith with hard privilege boundaries.

No Redis, no PHP-FPM pools, no separate search daemon. All public SSR, OpenDash Studio AST compilation, Admin APIs, and MCP run inside a single Rust server backed by SQLite WAL.

EDGE

1. Edge Reverse Proxy

Nginx or Caddy terminates HTTPS TLS and forwards cleanly to 127.0.0.1:8080.

HOST PROCESS

2. opendash Single Rust Binary

SSR + C-SEC Compiler MiniJinja static template verification, strict script-src 'self', zero inline JS.
OpenDash Studio + Admin Embedded React SPA compiled directly into the binary via rust-embed.
Unified Field Schema Typed CPTs, taxonomies, ACL rules, and draft/publish state machines.
Built-in MCP & SEO Token-protected agent endpoints, canonical URLs, sitemaps, and redirects.
PERSISTENCE

3. SQLite WAL + FTS5

Single database file with WAL journaling, BM25 full-text search, and age-encrypted backups.

SANDBOX

4. Plugin Worker Sandbox

Boa ES2024 JS + Wasmi 2.0 child process isolated by OS boundaries, fuel, and 128 MiB limit.

CORE CAPABILITIES

Everything essential is first-class.

Features that usually require five third-party WordPress plugins come engineered cleanly into OpenDash Core.

A / CONTENT OWNERSHIP

Theme Switch Without Data Loss

Switching from Theme A → B → A keeps every post, custom field, media record, and theme-scoped override intact.

B / DRAFT & CONCURRENCY

Explicit Draft vs Publish

Optimistic ETag locks (412) preserve unsaved editor drafts, while draft entries stay invisible to search and sitemap output.

C / LOCALIZATION

Gettext .pot/.po/.mo + Multilingual

Locale prefixes, hreflang alternates, localized search facets, and zero-restart compiled .mo translation catalogs.

DESIGN TRADE-OFFS

OpenDash CMS vs. Traditional WordPress Stack

Where OpenDash intentionally keeps WordPress concepts vs. where Rust & C-SEC replace legacy risks.

Architectural Layer OpenDash CMS Traditional PHP + MySQL Stack
Runtime & Deployment Single Rust executable with embedded React Admin & migrations. PHP-FPM workers, Nginx/Apache glue, separate MySQL/MariaDB server.
Visual Authoring 4-layer Studio AST (Section → Row → Column → Element) + TinyMCE Classic Editor. Mixed page-builder shortcodes, third-party plugins, and serialized postmeta.
Theme Security Declarative Theme Format V1 compiled & verified against C-SEC URL/AST scopes. Unrestricted PHP templates with arbitrary SQL/filesystem access.
Plugin Isolation Subprocess Boa JS & Wasmi 2.0 workers with capability permissions & quotas. In-process PHP execution sharing database credentials and global state.
Content Models & SEO Unified Schema CPTs, Taxonomies, 5-group SEO workspace, and FTS5 built in. Multiple commercial plugins required for ACF, Yoast/RankMath, and search.
READY TO INSPECT?

Audit the architecture or launch locally today.

Read the developer documentation, install on Linux in four commands, or browse working Theme Format V1 packages.

Search OpenDash

Use Arrow keys & Enter to navigate Full search page →