PocketBase

PocketBase

Open-source backend in a single Go binary

55kstars
3kforks
Last commit: 19d ago
Repo age: 4y old
PocketBase screenshot

PocketBase is a lightweight backend-as-a-service you run as a single executable. It provides a built-in SQLite database, an admin dashboard, authentication, file storage, and a generated API so you can ship web/mobile apps without standing up a full backend stack.

Key Features

  • Embedded SQLite database with collections (schema), migrations, and query filters
  • Admin UI to manage collections, records, users, and access rules
  • Auth system for email/password plus OAuth2 providers, with user management and sessions
  • REST-style API for CRUD and auth flows, plus real-time subscriptions for record changes
  • File uploads/attachments stored locally with access rules and signed/file-serving endpoints
  • Access control rules per collection/record (rule-based API permissions)
  • Extendable backend via Go: hooks/events, custom routes, and plugins
  • Single binary deployment; can be run via Docker and supports basic configuration via env/flags

Use Cases

  • Backend for a single-page app or mobile app needing auth + CRUD + files
  • Rapid prototyping of internal tools with an admin panel and API out of the box
  • Replacing managed BaaS for small/medium projects that prefer SQLite-backed simplicity

Limitations and Considerations

  • Primary datastore is SQLite (excellent for many workloads, but not a drop-in for horizontally scaled SQL clusters)
  • Server-side extensibility is Go-centric; advanced customization typically requires writing Go code

PocketBase is a strong fit when you want a minimal operational footprint while still getting a full backend stack (data, auth, files, admin UI, and real-time APIs). It’s especially useful for prototypes and production apps that fit well within an embedded-database deployment model.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Supabase

Supabase

Open-source Firebase alternative built on Postgres

95.9k
11.2k
Last commit: 18h ago

Self-hostable backend platform combining Postgres, Auth, Storage, realtime APIs, edge functions, and an admin dashboard to build and scale apps quickly.

Alternative to:
Firebase
Firebase
+4
NocoDB

NocoDB

Turn any database into a collaborative spreadsheet interface

61.2k
4.5k
Last commit: 3d ago

Open-source Airtable alternative that adds a spreadsheet UI, views, forms, automations, and APIs on top of SQL databases like Postgres and MySQL.

Alternative to:
Airtable
Airtable
+2
Appwrite

Appwrite

Open-source backend server for web, mobile, and Flutter apps

54.3k
4.9k
Last commit: 6d ago

Self-hosted backend-as-a-service with auth, databases, storage, functions, and realtime APIs for web and mobile apps.

Alternative to:
Firebase
Firebase
+2
Medusa

Medusa

Composable commerce platform for building custom stores

31.6k
4k
Last commit: 20h ago

Open-source, modular commerce backend for building custom eCommerce stores with APIs, admin dashboard, plugins, and integrations.

Alternative to:
Shopify
Shopify
+5
EverShop

EverShop

Modern Node.js eCommerce platform with a customizable admin

8.9k
2.1k
Last commit: 2d ago

EverShop is a Node.js-based eCommerce platform with storefront, admin dashboard, product/catalog management, orders, payments, and an extension-based architecture.

Alternative to:
Shopify
Shopify
+4
Kinto

Kinto

A generic JSON storage service with sync-friendly APIs

4.4k
420
Last commit: 2d ago

Self-hosted JSON storage server with REST APIs, versioning, auth, and sync primitives used by Mozilla for offline-first and synchronization use cases.

Alternative to:
Firebase
Firebase
+3