All extensions

Each extension is a Go module in ext/ with its own README; the pages here are those READMEs. Want to add one? Read Writing an extension.

Standard extensions

These ship with pocketone and add no work to an app that doesn't use them.

Extension What it does
API Tokens Long-lived API tokens with scopes.
Auto TLS Certificates on demand and wildcards through ACME.
Backups Restore an app to a moment from its own backups: the latest one before it. On by default.
Bulk Mail Campaigns to your app's own users, with audiences from a collection, a view or SQL.
Cache Cache buckets for every app in the process from one shared store: bytes or Go values, a budget per bucket, LRU/MRU/FIFO/LIFO eviction, TTLs, a cold disk tier that keeps identical values once.
Config The pocketone.yaml config file, with secrets in a .env beside it.
Deploy pocketone deploy, dev, pull and logs, and the deploy API.
Desktop Build your PocketOne app into a native desktop app for macOS, Windows and Linux, one executable each, from any machine.
JSVM PocketOne's JS engine: one QuickJS VM per app, real globals, async handlers, hard limits.
Key-Value Store Named JSON values for an app's settings and state, with no collection or migration. On by default.
LLM Cloud models for your app: text, pictures, speech, transcription, alignment, music, video and embeddings from Vultr, Cloudflare, OpenRouter or any OpenAI-compatible API.
LLM Chat Stored conversations with a language model: $llm.chat.open(id).sendAsync(text), with history and summaries.
LLM Search RAG and hybrid search: knowledge bases (buckets) of files, folders, zips, web pages, Git repositories and collections; $llm.search, and enrich to ground $llm calls in them.
MCP An MCP endpoint at /mcp so agents can manage your app and call its tools.
Pages Server-rendered pages from a pb_pages folder.
PITR Point-in-time restore of your database with Litestream. On by default.
Remotes Named remotes and saved logins for the pocketone command.
S3 Fallback A default bucket for uploads and backups when an instance has no S3 of its own.
S3 Redirect File downloads as short-lived signed S3 redirects.
Settings One API for the settings an app's admins change for its extensions. On by default.
Templates Theme an extension's own pages (the OAuth sign-in screens): eject its templates to pb_templates and edit them.
UI Cache Dashboard cache headers that let updates through browsers and CDNs. On by default.
Upgrade pocketone upgrade to the latest release, keeping the old executable.
Vacuum Compact your app's SQLite databases on a schedule, so space freed by deleted records goes back to the disk.
WASM Bring your own WASM: Go, Rust or Zig modules called from page code, each a closed box.

Run many instances

Host hundreds of PocketBase instances in one process, across regions.

Extension What it does
Docker A host provider that runs each instance in its own container.
Edge Forwards each request to the edge that owns the instance.
Firewall Peer allow-lists, trusted proxies and rate limits for a host.
Mothership A control plane and its edges, across regions.
Multisite Many instances behind one listener, routed by hostname, run by one provider.
Pocker Hundreds of PocketBase instances in one Go process, routed by hostname.
Sandbox Confines untrusted JS hooks, SQL and outbound network.
Schedules Planned. Scheduled webhooks that wake sleeping instances.
Stats Measures disk use and last request for each instance a host serves.

Services for your instances

Shared services a host gives every instance it runs.

Extension What it does
Mail Relay Outgoing mail for instances without SMTP, through your relay, with limits.
Server Timing Server-Timing headers for each step of a request.

Sell it as a service

Accounts, quotas and billing, for running PocketBase as a service.

Extension What it does
Billing Sell subscriptions and one-time purchases through any payment processor: products, checkout, webhooks, entitlements and a Billing page in the dashboard.
Creem Sell through Creem with Billing, with Creem as merchant of record.
Lemon Squeezy Adapter Planned. Lemon Squeezy as the billing provider.
Multitenant Planned. Accounts that own instances: quotas, owner logins, tokens and an API.
Multitenant Billing Planned. Plans, quotas and the billing provider hook for Multitenant.
Paddle Sell through Paddle Billing with Billing. Paddle is the merchant of record: it collects and files sales tax and VAT and handles disputes.
Stripe Sell through Stripe Checkout with Billing, with Stripe Managed Payments (Stripe as merchant of record) on by default.

For extension authors

The extension contract and tools for building and testing extensions.

Extension What it does
Bundle An app's hooks, migrations and public files embedded in the binary.
Contracts The versioned interfaces extensions use to work together, and the generator that writes their plumbing.
Dev Users Local testing only: a superuser and a user with password "password".
Extension Kit The extension contract: one extension works on every app, standalone or hosted.
Mail Trap Dev mode: mail from an app without SMTP lands in a built-in inbox.
Standard Set The extensions every PocketOne app has, as one set a host configures.