1. Introduction
  2. Pocketbuilds
Edit on GitHub

PocketBuilds

Learn what PocketBuilds is, how xpb works, and where to start.

PocketBuilds is a plugin ecosystem and set of tools for building custom PocketBase binaries extended with modular Go code.

You can browse plugins and download prebuilt PocketBase binaries directly from the PocketBuilds website .

PocketBuilds uses an open source project called xpb under the hood to run builds. You can use xpb directly from your terminal, and you can also build your own plugins.

PocketBuilds

The Pieces

  • PocketBuilds website: plugin marketplace and hosted builds.
  • XPB CLI: build your own PocketBase binary locally in a reproducible way.
  • XPB plugins: Go modules that hook into PocketBase and add features.

Key Ideas

Build-time composition

XPB builds a single binary that includes PocketBase plus any plugins you include with --with.

Run-time configuration

Most plugins read config from a pocketbuilds.toml file (and can also be configured via env vars).

Next Steps