Skip to content

sovereignfs/sovereign-plugins-examples

Repository files navigation

Sovereign example plugins

Capability-demo plugins for the Sovereign platform. Each directory is a self-contained plugin that demonstrates one facet of the plugin runtime:

Plugin Route Demonstrates
example-basic /example-basic Default shell, sdk.auth.getSession(), UI + tokens
example-api /example-api apiProvider serve-route pattern
example-minimal /example-minimal shell: "minimal" chrome-less layout
example-monetized /example-monetized Monetization paywall (entitlement tokens)
example-overlay-small /example-overlay-small shell: "overlay", overlaySize: "sm"
example-overlay-medium /example-overlay-* overlaySize: "md"
example-overlay-large /example-overlay-* overlaySize: "lg"

How these ship

The platform bundles these examples at build time by cloning this repository and copying each <slug> directory into plugins/<slug>. See the platform's sovereign.plugins.json and scripts/install-plugins.ts. Operators can disable them per-instance from the Console.

The package.json files reference workspace:* / catalog: dependencies — they resolve only once the plugin is cloned back into the platform monorepo's plugins/ workspace; this repository stores the source, it is not a standalone build target.

About

Example Sovereign plugins demonstrating API, basic, minimal, monetized, and overlay app patterns for plugin developers.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages