
PocketBase
Lightweight open-source realtime backend with embedded SQLite

PocketBase is a compact open-source backend written in Go that provides an embedded SQLite database, realtime subscriptions, user authentication, file storage and a built-in admin dashboard. It can be used as a standalone single-file executable or as an embeddable Go library for custom apps.
Key Features
- Embedded SQLite database with schema builder, validations and realtime change subscriptions (Server-Sent Events).
- Authentication and authorization: email/password, token-based (JWT) auth, OAuth2 provider integrations and auth token refresh/management.
- File storage with local or S3-compatible backends, file uploads attached to records and automatic thumbnail generation.
- Built-in Admin dashboard UI for managing collections, records, files and users; extendable via Go hooks and an embedded JavaScript VM.
- REST-style JSON APIs plus official SDKs (JavaScript, Dart) for quick client integration and realtime subscribe/unsubscribe helpers.
- Small footprint single binary distribution with cross-platform prebuilt executables and example starter projects.
Use Cases
- Prototyping and internal tools where a minimal backend (DB + auth + file storage + admin UI) is needed quickly.
- Client-driven web or mobile apps (SPAs, PWAs, React/Flutter apps) that need realtime updates and a simple REST API.
- Lightweight CMS-like applications, admin dashboards and hobby/side projects requiring a portable backend.
Limitations and Considerations
- Single-server architecture with an embedded SQLite store; no built-in sharding or multi-node clustering, so horizontal scaling is limited.
- Realtime uses SSE (unidirectional) rather than WebSockets; reverse proxy configuration must support long-lived HTTP streams.
- Project is under active development and the maintainers note potential breaking changes before a stable v1.0; review changelogs and migration notes for production upgrades.
- Offline-first sync is not provided out-of-the-box; client-side handling is required for offline scenarios.
PocketBase offers a pragmatic, compact backend for many web and mobile workflows where simplicity, portability and realtime updates matter. It is especially suited for prototypes, internal apps and small production services that accept the single-server SQLite tradeoffs.
Categories:
Tags:
Tech Stack:
Similar Services

Supabase
Open source Postgres backend platform with auth, APIs, storage, and realtime
Supabase is an open source Postgres development platform providing authentication, auto-generated REST/GraphQL APIs, realtime subscriptions, edge functions, file storage,...


NocoDB
No-code spreadsheet interface for SQL databases with APIs
Open-source Airtable alternative that turns Postgres/MySQL/SQLite into a no-code spreadsheet UI with views, permissions, integrations, and REST APIs.

Appwrite
Open-source backend platform for web and mobile applications
Appwrite is an open-source backend-as-a-service for building web and mobile apps with authentication, databases, storage, functions, realtime APIs, and messaging.


Directus
Headless CMS and instant APIs for SQL databases
Directus turns any SQL database into a headless CMS with an admin app, role-based access control, and instant REST and GraphQL APIs for custom applications.

Medusa
Open-source, headless ecommerce backend built for customization.
Open-source, API-first commerce backend with modular architecture for custom storefronts and marketplaces.


Medusa
Modular, headless commerce platform and backend framework
Open-source modular commerce platform for building custom B2C/B2B e-commerce backends with an admin dashboard, extensible modules, and APIs.





