EmDash glossaryEmDash plugins extend the EmDash CMS: they react to content events, store data, add admin pages, and serve API routes, in a sandboxed or native format.
Plugins extend EmDash, the open-source CMS for Astro. A plugin can react to events (a post is saved, media is uploaded, a comment comes in, a scheduled task runs), keep its own data, add pages and widgets to the admin panel, serve API routes, and call outside services.
Two formats
- Sandboxed plugins run in an isolated runtime, can only use the APIs their capabilities allow, and install with one click from the plugin registry.
- Native plugins run inside the site itself with full access, install from npm, and need a redeploy.
EmDash recommends the sandboxed format unless a plugin needs something only native plugins can do. This is the main difference from WordPress, where every plugin runs with full access to the site and its database.
Source: EmDash docs: Plugins.