Skip to content

Comparison

How AllYourBase compares to PocketBase and Supabase (self-hosted).

Feature matrix

FeaturePocketBaseSupabase (self-hosted)AllYourBase
DatabaseSQLitePostgreSQLPostgreSQL
DeploymentSingle binary10+ Docker containersSingle binary
ConfigurationOne fileDozens of env varsOne file (ayb.toml)
Docker requiredNoYesNo
Auto-generated APIYesYesYes
FilteringCustom syntaxPostgRESTSQL-like, parameterized
SortingYesYesYes
PaginationYesYesYes
FK expansionYesSelect embeddingYes (?expand=)
Row-Level SecurityNoYesYes
AuthYesYesYes
OAuthMany providersMany providersGoogle, GitHub
File storageYesYesYes (local + S3)
RealtimeSSEWebSocket (complex)SSE
Admin dashboardYesYes (complex)Yes
Database RPCNoYes (PostgREST)Yes
Horizontal scalingNo (SQLite)YesYes (PostgreSQL)
Bulk operationsNoYesComing soon

When to use AllYourBase

Choose AllYourBase if you:

  • Want PostgreSQL without the operational complexity of Supabase
  • Need a single binary you can deploy anywhere
  • Want RLS support that PocketBase doesn't offer
  • Need horizontal scaling that SQLite can't provide
  • Want an opinionated, batteries-included setup with minimal configuration

When to use PocketBase

Choose PocketBase if you:

  • Want the simplest possible setup and SQLite is sufficient
  • Don't need Row-Level Security
  • Need many OAuth providers out of the box
  • Want a mature, battle-tested product

When to use Supabase

Choose Supabase if you:

  • Want a managed cloud service (Supabase Cloud)
  • Need the full ecosystem (edge functions, branching, SQL editor, API explorer)
  • Need advanced PostgREST features (select embedding, computed columns)
  • Want a large community and extensive documentation

Key advantages of AllYourBase

PostgreSQL without complexity

Supabase self-hosted requires 10+ containers (PostgREST, GoTrue, Realtime, Storage, Kong, etc.). AYB gives you the same PostgreSQL foundation in a single binary.

Single binary + embedded PostgreSQL

For development and prototyping, ayb start downloads and manages its own PostgreSQL — no database setup needed. For production, point it at any PostgreSQL instance.

SQL-safe filtering

AYB's filter syntax is familiar and parameterized:

?filter=status='active' AND age>21

No custom DSL to learn. Values are parameterized to prevent SQL injection.

Released under the MIT License.