Skip to main content
OpenSourceAlternatives

PocketBase

Open source · OSI-approvedStatus: unknownNew

Open source backend in one file with realtime database and auth

Alternative to Firebase

PocketBase is an open source backend that packs an embedded SQLite database with realtime subscriptions, authentication, file storage, and an admin dashboard into a single executable file. It serves solo developers and small teams who want a self-contained backend for a side project, mobile app, or small SaaS without operating a database server, an auth service, and a storage layer separately.[1][2]

Quick verdict

Small teams shipping a side project or an early-stage SaaS on one server benefit most from PocketBase. The single executable delivers a realtime database, password and OAuth2 logins, file handling, and an admin UI with almost no operational setup. The pre-1.0 codebase carries no backward-compatibility guarantee, so teams running production-critical workloads should choose a versioned platform such as Supabase instead. If one-server simplicity decides the choice, start with PocketBase; if managed hosting or horizontal scale decides it, start with Supabase.[1][2][3]

Capabilities

  • Embedded SQLite with realtime subscriptions Collections live in an embedded SQLite database, and clients can subscribe to realtime record changes without adding a separate pub/sub service.[1]

  • Password and OAuth2 authentication Auth collections support identity and password login plus more than 15 OAuth2 providers, including Apple, Google, Facebook, Microsoft, VK, GitHub, and GitLab.[1][2]

  • Admin dashboard UI A builtin dashboard manages collections, auth settings, files, and mail from the browser, so routine backend administration needs no custom tooling.[1][2]

  • REST-ish API with SDKs A stateless token API covers records, auth, and files, with JavaScript and Dart SDK examples in the official docs; tokens are never stored server-side.[1][2]

  • File upload and handling The backend handles file uploads alongside records, keeping user content in the same self-contained deployment as the data.[1]

  • Single-file deployment Version 0.40.5 ships as a roughly 12MB download for Linux, Windows, and macOS on x64 and ARM64, started with a single serve command after extraction.[1]

  • Go and JavaScript extension Instead of cloud functions, PocketBase extends through event hooks, routing, migrations, scheduled jobs, and mail as a Go or JavaScript framework.[1][2]

  • API rules and filters Per-collection API rules control record access, and superuser accounts bypass those rules for administration; OAuth2 login is disabled for superusers.[1][2]

Who will love it

  • One executable plus a single serve command is the whole deployment, which fits side projects and prototypes on a small virtual server.[1][2]

  • The FAQ names small and midsize applications, SaaS, mobile API backends, and intranets as the intended scope, citing 10,000-plus realtime connections on a cheap VPS as its reference point.[1]

  • Event hooks, custom routes, migrations, and scheduled jobs give framework-level control without surrendering the portable single-file backend.[1]

Who should avoid it

  • The pre-1.0 codebase carries no backward-compatibility guarantee, and upgrades can require manual migration steps, which makes it a poor fit where breaking changes are unacceptable.[1]

  • PocketBase scales vertically on one server only, so applications that must scale horizontally across machines should look elsewhere.[1]

  • There is no hosted offering, no company, and no paid support behind the project; the operator owns deployment, updates, backups, and scaling.[1]

Alternatives and compatibility

The discovery lead page positions PocketBase as an open source alternative to Supabase, Firebase, and AppWrite, and the FAQ names Firebase, Supabase, and Nhost as similar backend solutions. All three catalogue targets are published records suitable as competitor proposals.[1][2]

PocketBase is pre-1.0 with no backward-compatibility guarantee, while the proposed alternatives carry managed or versioned upgrade paths; that tradeoff decides the recommendation, not feature parity.[1]

Self-hosted-only operation with vertical scaling bounds the fit to single-server workloads; teams needing managed hosting or horizontal scale belong with a hosted alternative.[1]

Questions worth asking

What is the best PocketBase alternative for non-technical users?

Supabase is the safer conditional pick: its hosted dashboard, managed Postgres, and established client SDKs suit teams without server operators, while PocketBase assumes someone comfortable running a VPS. Appwrite Cloud is another managed option with a visual console and migration wizards.[1][2]

Is PocketBase really no-code?

No. The admin dashboard covers data, auth, and file management visually, but defining collections, API rules, and OAuth2 providers, plus any custom logic through the Go or JavaScript framework, is developer work. The FAQ warns away anyone unwilling to read the docs.[1][2]

How much does PocketBase cost per month?

The software license costs 0 dollars: MIT-licensed and free to use, with no paid plans and no hosted offering, as checked October 12, 2026. Running it costs whatever the operator's server costs; the FAQ cites a 4-dollar-per-month Hetzner VPS as a reference point, plus operator time for updates, backups, and scaling.[1][2]

Can you self-host PocketBase?

Yes; self-hosting is the only option. Download the executable for Linux, Windows, or macOS, run it on a server with persistent storage, and put it behind HTTPS following the going-to-production guide. There is no managed cloud to fall back on.[1][2]

Sources and editorial review

Source research. Reviewed on October 12, 2026. Written by Sanjib Sah. AI assisted; reviewed by a human editor.

We have not run or tested this product.

  1. PocketBase on OpenAlternative

    official · Observed October 12, 2026

    Discovery lead; official site pocketbase.io, repo pocketbase/pocketbase, MIT license, self-hosted, v0.40.5, alternative positioning vs Supabase/Firebase/AppWrite

  2. PocketBase - Open Source backend in 1 file

    official · Observed October 12, 2026

    Official homepage; single-file backend, realtime database, auth, file storage, admin dashboard, v0.40.5

  3. Introduction - Docs - PocketBase

    official · Observed October 12, 2026

    Official docs introduction; embedded SQLite, realtime subscriptions, auth management, dashboard UI, REST-ish API, Go/JS framework duality, pre-1.0 warning, platform downloads, serve command

  4. FAQ - PocketBase

    official · Observed October 12, 2026

    Official FAQ; self-hosted only, no company or paid team, vertical scaling with VPS reference, no cloud functions, 15-plus OAuth2 providers, SDK-only frontend

  5. Introduction - Authentication - Docs - PocketBase

    official · Observed October 12, 2026

    Official authentication docs; stateless token auth, password and OAuth2 methods, no server sessions, superuser rules

  6. pocketbase/pocketbase on GitHub

    official · Observed October 12, 2026

    Official repository; identity anchor pocketbase/pocketbase (page chrome only, no metric claims taken)

  7. LICENSE.md - pocketbase/pocketbase

    official · Observed October 12, 2026

    Repository license text; MIT, copyright Gani Georgiev 2022-present

Compared with these products

Similar projects

Related projects with shared categories, technologies, or licensing.

Supabase

SupabaseOpen

Postgres-powered backend platform for production apps

Stars108.7K
Commit8h ago
LicenseApache-2.0

Supabase gives an application everything it needs on the server side without hiding the database behind a proprietary abstraction. The primitive is plain Postgres, and the platform layers authentication, generated APIs, storage, realtime subscriptions, and edge functions on top of it.

Meilisearch

MeilisearchOpen

Typo-tolerant search that is fast to run and fast to tune

Stars52.3K
Commit1d ago
LicenseMIT

Meilisearch is a search engine you can be productive with in an afternoon. Indexing is a POST, relevance is tuned through an ordered list of ranking rules, and results come back typo-tolerant by default.

Dokku

DokkuOpen

Self-hosted PaaS that deploys apps with a git push

Stars32.2K
Commitjust now
LicenseMIT

Dokku is a self-hosted platform-as-a-service that turns your own Linux server into a Heroku-style deployment target driven by git push.

Turso

TursoOpen

SQLite-compatible edge database platform built on libSQL

Stars17.3K
Commitjust now
LicenseMIT

Turso is a SQLite-compatible database platform built on libSQL that replicates data to the edge for fast local reads, with embedded replicas, branching, and managed cloud hosting.

Convex

Convex

Reactive backend with database, functions, and realtime sync

Stars12.6K
Commitjust now
LicenseFSL-1.1-Apache-2.0

Convex is a backend platform where the database, serverless functions, scheduling, and file storage arrive as one TypeScript-native system.

NHost

NHostOpen

Open-source backend with Postgres, GraphQL, auth, and storage

Stars9,351
Commitjust now
LicenseMIT

Nhost is an open-source backend platform on PostgreSQL that generates a GraphQL API from the database schema and bundles authentication, file storage, and serverless functions, offered as a managed cloud or as Docker self-hosting.