PocketBase

Open source

An open-source backend packaged as a single Go executable, with an embedded SQLite database, realtime subscriptions, user and file management and an admin dashboard.

pocketbase.io
PocketBase homepage screenshot
GitHub stars
62k
Last 30 days
+214(+0%)
Last commit
18 days ago
Repository age
4 years
Version
v0.40.6
Licence
MIT
Self-hosted
Yes

About PocketBase

PocketBase is an open-source backend written in Go that ships as one file. It bundles an embedded SQLite database with realtime subscriptions, built-in management of users and files, a convenient admin dashboard and a simple REST-style API, which makes it quick to stand up a backend for a small web or mobile project.

You can use it as a standalone application by downloading the prebuilt executable for your platform and running its serve command, or you can extend it as a Go library to add custom routes and logic. The prebuilt binaries come with a JavaScript VM plugin enabled for scripting. Official SDK clients exist for JavaScript, covering browsers, Node.js and React Native, and for Dart, covering web, mobile, desktop and CLI.

PocketBase is MIT licensed. The maintainers warn that it is still under active development and that backward compatibility is not guaranteed before version 1.0.0, so upgrades deserve some care. It suits solo developers and small teams who want a simple, self-contained backend without managing a database server separately.

Key features

  • Embedded SQLite database with realtime subscriptions
  • Built-in user authentication and file management
  • Admin dashboard for managing data
  • REST-style API for client access
  • Official JavaScript and Dart SDKs
  • Single executable that can also extend as a Go library

Good fit for

  • Backend for small web and mobile apps
  • Prototypes that need auth and realtime data
  • Self-contained internal tools
Built with
Go tools
Tags
backend
sqlite
realtime
golang
auth
self-hosted
baas
admin-dashboard

PocketBase: questions and answers

What is PocketBase used for?
PocketBase is an open-source backend packaged as a single Go executable, with an embedded SQLite database, realtime subscriptions, user and file management and an admin dashboard. It is a good fit for backend for small web and mobile apps, prototypes that need auth and realtime data, and self-contained internal tools.
Is PocketBase open source?
Yes. PocketBase is open source under the MIT licence. Its source code is on GitHub at pocketbase/pocketbase and is written mainly in Go.
Is PocketBase free?
Yes. PocketBase is open source, so the software itself is free to use.
Can I self-host PocketBase?
Yes. PocketBase can be self-hosted on your own server or infrastructure; there is no official hosted version.
What is PocketBase an alternative to?
PocketBase is an open-source alternative to Firebase, Back4App, Backendless and Xano. Other open-source alternatives to Firebase include Appwrite, Supabase and Nhost.
Is PocketBase actively maintained?
No. The GitHub repository for PocketBase has been archived by its owner, which makes it read-only. The project has 62k stars on GitHub, with 214 added in the last 30 days.

Open-source alternatives to PocketBase

See all

SaaS alternatives to PocketBase

See all