# PocketBase

Open Source realtime backend in 1 file

Repository: https://github.com/pocketbase/pocketbase
Canonical: https://ross.abutalabs.com/products/pocketbase
Homepage: https://pocketbase.io
Language: Go
License: MIT
License Family: permissive
Topics: authentication, backend, realtime, golang
Last push: 2026-08-24T15:16:58+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 1520, "days_push": 9, "days_rel": 9, "gap_med": 3, "n_releases_24m": 126}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 60832, forks 3662 (observed 2026-08-28T04:12:18.848756+00:00)

## What it is
PocketBase is an open source Go backend that ships as a single executable, bundling an embedded SQLite database with realtime subscriptions, user and file management, an admin dashboard UI, and a REST-ish API. It can be used standalone or as a Go framework/library to build custom backend logic, with official JavaScript and Dart SDK clients.

## Use cases
- self-hosted backend for a mobile or web app in a single binary
- add realtime subscriptions to a small app without running a separate database server
- quickly prototype an app with authentication, file uploads, and an admin dashboard
- extend a backend with custom business logic in Go or JavaScript
- replace Firebase/Supabase with an open source backend I can host myself

## When to choose
- you want a portable single-file backend with embedded SQLite and realtime support
- you need built-in auth, file storage, and an admin UI out of the box
- you want to prototype or ship small-to-medium apps quickly without managing infrastructure
- you prefer extending a backend in Go or JavaScript while keeping one executable

## When to avoid
- you need high write concurrency or horizontal scaling beyond a single node, since SQLite is embedded
- you require guaranteed backward compatibility before the project reaches v1.0.0
- you need a full SQL database with complex queries, stored procedures, or advanced replication
- you need a managed cloud database with enterprise support

## Facets
- artifact type: framework
- maturity: active
- function: auth, database, http-server, websocket, file-upload, api-framework
- domain: backend, web-development, self-hosted, databases
- platform: go, windows, self-hosted, cross-platform
- tags: sqlite, single-binary, admin-dashboard, realtime-subscriptions, baas, backend-as-a-service, realtime, linux, macos

## Member repositories
- pocketbase/pocketbase (main) score 95
- pocketbase/js-sdk (sdk) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:18.848756+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:17:46.262367+00:00, confidence not recorded.
  - readme: https://github.com/pocketbase/pocketbase (fetched 2026-08-28T04:12:18.848756+00:00, sha 099ee167bdf4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
