Examples
Everything here lives under examples/ in the repository and runs against the
same two packages the rest of this documentation describes.
| Example | Tiers | What it is for |
|---|---|---|
| CMS | both | Two Python packages — free and paid — filling the same three contribution points, on shadcn/ui. The clearest statement of package → extension → plugin → contribution. Runs on this page. |
| Music store | both | The full model: slots, a contribution point, an extension, a lazy plugin, and a checkbox per plugin on both tiers. Runs on this page. |
| Astro CMS | both | A SQLite-backed multi-user and multi-site CMS with Astro live collections, Primer, Lexical, Python-packaged extensions and optional x402 paid routes. |
| Frontend | TypeScript | The smallest thing that is still a platform: two plugins and a slot. |
| Frontend + backend | both | The same, with a FastAPI backend and a gated slot. |
| CLI | Python | A command-line host extended by a plugin, with no browser anywhere. |
| Federation | TypeScript | Plugins fetched from a URL: one that works, one that fails on purpose, and one installed by pasting a link. |
| Extension | both | One pip install shipping a Python plugin and its UI — and appearing in a server that was already running. |
Start with the music store demo if you want to see the model rather than read it — the Plugins panel on its right switches any plugin off while it runs, on either tier.