PocketBase logo

PocketBase

Website

Lightweight open-source realtime backend with embedded SQLite

60.3k stars 3.6k forks last commit first released MIT

Actively maintained

Last commit 22 Jul 2026.

PocketBase screenshot

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:

Share:

Similar to PocketBase

TrailBase

Single-binary backend server with type-safe APIs, auth, and realtime

5.4k
183
Last commit

TrailBase is a fast, single-executable Firebase alternative with type-safe REST and realtime APIs, built-in auth, admin UI, WebAssembly extensibility, and SQLite storage.

OSL-3.0Actively maintained
Alternative to:
Firebase logo
Firebase
+6
Sharry logo

Sharry

Self-hosted web application for secure file sharing and uploads

1.3k
72
Last commit

Sharry is a self-hosted file sharing web app with resumable uploads (tus), configurable lifetimes and passwords, and multiple storage backends including PostgreSQL, MariaDB, H2, filesystem or S3-compatible storage.

GPL-3.0Actively maintained
Alternative to:
WeTransfer logo
WeTransfer
+19

Melody Auth

OAuth 2.0 and authentication server for Cloudflare Workers or Node.js

628
65
Last commit

Turnkey OAuth 2.0/OIDC authentication system with admin panel, REST APIs, RBAC, MFA, social login, and flexible deployment on Cloudflare Workers or Node.js.

MITActively maintained
Alternative to:
Auth0 logo
Auth0
+19
Supabase logo

Supabase

Open source Postgres backend platform with auth, APIs, storage, and realtime

107.1k
13.3k
Last commit

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

Apache-2.0Actively maintained
Alternative to:
Firebase logo
Firebase
+10
Directus logo

Directus

Headless CMS and instant APIs for SQL databases

36.9k
4.9k
Last commit

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.

Actively maintained
Alternative to:
Directus Cloud logo
Directus Cloud
+19
Kottster logo

Kottster

Self-hosted Node.js admin panel builder for databases

1.2k
80
Last commit

Kottster is an open-source, self-hosted Node.js admin panel that generates table views, dashboards, and custom pages on top of your existing database.

Apache-2.0Slowing down
Alternative to:
Retool logo
Retool
+5