flybase

Your own PocketBase instance, deployed and managed from the command line.

flybase runs isolated PocketBase instances for you on Fly.io. Each instance is a real PocketBase with its own database, admin dashboard, JS hooks, server-rendered templates, and static frontend hosting — created, deployed, and upgraded with a single CLI. Instances scale to zero when idle and wake on the first request.

Install the CLI

macOS / Linux

curl -fsSL https://api-flybase.jaythedeveloper.tech/install.sh | sh

Windows (PowerShell)

irm https://api-flybase.jaythedeveloper.tech/install.ps1 | iex

Prebuilt binaries for macOS, Linux, and Windows (amd64 + arm64) are published on GitHub Releases.

Quick start — register

flybase register you@example.com   # prompts for a password
flybase login    you@example.com   # already registered? sign in

Installed binaries already target this host. For a source build, set FLYBASE_URL=https://api-flybase.jaythedeveloper.tech.

Quick start — deploy your first instance

# create instance "myapp" and wait until it's healthy
flybase create myapp -password <pb-admin-password> -wait

flybase ls          # list your instances
flybase get myapp   # URLs + status

Then open the admin dashboard at https://api-flybase.jaythedeveloper.tech/myapp/_/ and log in with your email + that password (your PocketBase superuser is your email + the password above).

Go further

  1. Server logic: flybase hooks push myapp ./hook.pb.js then flybase hooks sync myapp
  2. Server-rendered HTML: push a *.html template (stored under views/) and render it with $template
  3. Static frontend: flybase deploy myapp ./dist
  4. Stay current: flybase image myapp / flybase upgrade myapp