Official Docs

Official EmDash documentation imported into this site.

overview

Agent Skills

Install EmDash agent skills so AI coding assistants use current EmDash APIs when they build sites, write plugins, and port WordPress projects.

concepts

Admin panel

How editors, administrators, and developers use the EmDash admin panel.

concepts

Architecture

How an Astro site, EmDash, the admin panel, and the data stores work together.

concepts

Collections and fields

Choose collection behavior and field types, and understand how later changes affect content.

concepts

Content model

How collections, fields, entries, generated types, and seed files describe site content.

deployment

Choose a database

Choose and configure SQLite, D1, Hyperdrive, PostgreSQL, or libSQL for EmDash.

deployment

Deploy to Node.js

Deploy EmDash to a long-running Node.js server with persistent data services.

deployment

Configure the object cache

Cache query results in Cloudflare KV or memory to serve reads without querying the database on every request.

deployment

Configure the plugin sandbox

Run sandboxed plugins on Cloudflare Workers or Node.js, with the bindings, resource limits, and failure modes of each sandbox runner.

deployment

Manage secrets and keys

Where every EmDash secret lives, how to provide it, and what happens when you rotate or lose it.

deployment

Choose media storage

Choose and configure R2, S3-compatible, or local media storage for EmDash.

deployment

Update EmDash

Move an existing site to a new EmDash release, from reading the release entries to verifying the deployed site.

overview

EmDash Docs MCP

Connect your AI coding assistant to the EmDash documentation so it can answer questions and find the right pattern from real docs.

guides

AI Tools

Connect Claude, ChatGPT, and other AI assistants to your EmDash site.

guides

Atmosphere Login

Sign in to EmDash with an Atmosphere account — the open-network identity behind Bluesky and the wider AT Protocol ecosystem.

guides

Authentication

Passkey-first authentication with pluggable providers for GitHub, Google, Microsoft, and the Atmosphere.

guides

Backups and recovery

Create and verify restorable database, media, and key backups for every supported EmDash database.

guides

Build pages with blocks

Define versioned block types, add a blocks field, and render the stored composition with Astro components.

guides

Move to a New Domain

Switch a site's public address with the Change domain dialog, and keep signing in after the move.

guides

Create a Blog

Build a complete blog with posts, categories, and tags using EmDash.

guides

Dark Mode

Follow the visitor's color scheme, let editors pick a dark counterpart for an image, and render the right one with the Image component.

guides

Email Setup

Configure email delivery for magic links, invites, and account recovery — in development and production.

guides

Internationalization (i18n)

Translate content into multiple languages with per-locale publishing, slugs, and automatic fallback.

guides

Media Library

Upload, organize, select, edit, track, and safely delete media in EmDash.

guides

Navigation Menus

Create menus in the admin and render locale-aware navigation in an Astro layout.

guides

Page Layouts

Let editors choose different layouts for individual pages using a template field.

guides

Preview Mode

Enable secure previews of draft content before publishing.

guides

Querying Content

Query, order, paginate, and render EmDash content in server-rendered Astro pages.

guides

Relations

Link entries across content types with relations and reference fields, pick entries in the editor, and read the links in a template.

guides

Sections

Create reusable Portable Text blocks and insert independent copies into content.

guides

Built-in SEO Features

The search engine optimization (SEO) features EmDash provides, what each one outputs, and how to enable them.

guides

Site Settings

Read site identity, display, social, and SEO settings in Astro templates.

guides

Site transfer

Export a complete EmDash site as a site package, import it into a new empty site, and verify the result with an import receipt.

guides

Taxonomies

Classify content, query locale-aware terms, and build taxonomy archive pages.

guides

Widget Areas

Place editor-managed content, menus, and built-in widgets in an Astro template.

guides

Working with Content

Create, edit, publish, schedule, and safely delete content in the EmDash admin.

guides

x402 Payments

Require x402 payments for server-rendered Astro routes.

migration

Content import

Understand the WordPress import sources, conversion behavior, API shapes, and retry boundaries.

migration

Port WordPress Plugins

Choose an EmDash plugin format and map WordPress hooks, storage, routes, and admin UI.

plugins

Page fragments

Add trusted scripts or HTML to public page insertion points.

plugins

React admin extensions

Add generated settings, React pages, dashboard widgets, field widgets, editor panels, and content-list columns to a native plugin.

plugins

API Routes

Expose REST endpoints from your sandboxed plugin for the admin UI and external integrations.

plugins

Block Kit

Declarative UI blocks for plugin pages, widgets, and saved-entry extensions.

plugins

Hooks

Run code in response to content, media, lifecycle, and page-render events.

plugins

The plugin manifest

Reference for emdash-plugin.jsonc identity, access, storage, admin UI, and registry fields.

plugins

Settings

Store encrypted sandboxed-plugin settings and edit them through a Block Kit page.

plugins

Storage

Persist plugin data in document collections with indexed queries.

plugins

Test sandboxed plugins

Run plugin hooks and routes through EmDash's production sandbox boundary in Vitest.

plugins

Field Kit

Configure composable widgets for JSON fields through seed options.

plugins

Installing plugins

Install sandboxed plugins from the EmDash registry or register plugins from npm.

plugins

Plugins

Choose, install, and operate sandboxed or native EmDash plugins.

plugins

The plugin registry

Discover, review, and install sandboxed plugins from the EmDash registry.

plugins

Querying the registry

Build a plugin directory, search page, or release feed against the registry's public discovery API with @emdash-cms/registry-client.

reference

Content Lifecycle

State transitions, revisions, permissions, conflicts, and hooks for EmDash content.

reference

Hook Reference

Plugin hooks for extending EmDash functionality.

reference

MCP Server Reference

Authentication, protocol behavior, and the complete tool inventory for the MCP server.

reference

REST API Reference

The public HTTP contract, authentication rules, and complete OpenAPI operation inventory.

themes

Create a Theme

Build a reusable EmDash Astro template with server-rendered routes and an initial seed.

themes

Themes

Install or create an EmDash theme as an Astro template with a seed file.

themes

Seed Files

Reference for the EmDash seed format, validation, references, and apply behavior.

overview

Upgrade to EmDash 1.0

Breaking changes between EmDash 0.x and 1.0, and how to update your site.

overview

Why EmDash

Evaluate EmDash's editing model, architecture, operating requirements, and trade-offs.