OpenAltFinder
PocketBase

PocketBase

Open source realtime backend in a single file — SQLite, auth, file storage, and admin UI in one Go binary.

Open source alternative to:

Screenshot 2026-08-10 at 10-35-09 messages - Acme.png
Screenshot 2026-08-10 at 10-35-15 posts - Acme.png
Screenshot 2026-08-10 at 10-35-22 posts - Acme.png
1 / 3

PocketBase is an open source backend that ships as a single Go executable. It bundles an embedded SQLite database with realtime subscriptions, built-in user authentication and file storage, an admin dashboard UI, and a REST-ish API. You download one binary, run ./pocketbase serve, and get a complete backend for your web or mobile app — no separate database server, auth service, or hosting platform required.

PocketBase is designed to be extended in two ways: as a standalone app with a built-in JavaScript VM plugin that lets you add custom routes, event hooks, and business logic without recompiling, or as a Go framework you import as a library to build a single portable binary with your own logic. Official SDK clients are available for JavaScript (browser, Node.js, React Native) and Dart (web, mobile, desktop, CLI).

PocketBase is a popular open source alternative to Firebase. Where Firebase ties you into Google's managed platform with its pricing and quota model, PocketBase runs entirely on your own hardware, uses SQLite instead of Firestore, and is licensed under the permissive MIT license. It targets solo developers, startups, and hobby projects that want a Firebase-like developer experience without vendor lock-in.

Frequently Asked Questions

Which platforms does PocketBase run on?

PocketBase ships as prebuilt single-file executables for macOS, Windows, and Linux across amd64, arm64, and other architectures. Because it is written in Go, you can also build a native executable for any supported Go build target. There is no desktop or mobile client — apps talk to the backend through the REST API and the official SDKs.

What authentication options does PocketBase support?

PocketBase includes built-in user management with email/password (or a custom unique identity field such as username) and OAuth2 login via providers like Google, GitHub, and Discord. Authentication uses stateless JWT tokens sent in the Authorization header, so there are no server-side sessions and no logout endpoint — clients simply discard the token.

Can I extend or customize PocketBase?

Yes. You can extend PocketBase with JavaScript using the built-in JS VM plugin to add custom routes, event hooks, and business logic without recompiling. Alternatively, you can use PocketBase as a Go framework, import it in your own main.go, and build a single portable executable with custom Go logic.

Does PocketBase have an API, webhooks, or CLI?

PocketBase exposes a REST-ish API for CRUD operations, authentication, file uploads, and realtime subscriptions, plus official SDK clients for JavaScript and Dart. Realtime subscriptions use WebSocket connections to stream record changes to clients. The pocketbase executable also provides a CLI with commands such as serve to run the server.

What are the system requirements to self-host PocketBase?

PocketBase runs as a single executable with an embedded SQLite database, so no separate database server is needed. You can run it on any platform with a prebuilt binary. To build from source you need Go 1.25 or newer, and the pure-Go SQLite driver supports static cross-compilation with CGO_ENABLED=0.

Visit PocketBase
License
MIT
Self hostable
Yes
Repository details
Version
v0.39.10
Created
7/5/2022
Stars
60,580
Forks
3,629
Open issues
19
Last commit
8/3/2026

Updated 8/10/2026, 3:39:36 AM

View Repository

Similar open source alternatives