PocketBase Compact self-hosted SQLite backend with authentication, realtime subscriptions and file storage.
Overview PocketBase is an open-source backend combining an embedded SQLite database, authentication, realtime subscriptions, file storage and an administration interface. It can run as a standalone executable or be extended as a Go framework, with JavaScript hooks also available. Its compact deployment is accompanied by an explicit pre-1.0 compatibility and production-readiness warning.[2] [3]
Contents Application model The project provides native binaries for common desktop and server operating systems and exposes a REST-style API for application clients. Files can be stored locally or in S3-compatible storage. This supports a frontend-independent backend, but the design is centered on a single server rather than automatically supplying a distributed managed database service.[2] [3] [4]
Version and production limits PocketBase remains pre-1.0, and its introduction says full backward compatibility is not guaranteed yet. It does not recommend PocketBase for production-critical applications unless the operator accepts reading release notes and performing occasional manual migrations. This warning is more specific than calling the project either universally production-ready or unusable for every real application.[3]
Backup and configuration Built-in backups produce a snapshot of the data directory, including locally uploaded files, but exclude files uploaded to S3 and other local backup archives. External object storage needs its own protection. The guide notes that large data directories can make the built-in snapshot slow enough to justify a different backup strategy.[4]
Application settings are stored as plain JSON by default and can include SMTP and storage credentials. Optional settings encryption is documented. A copied database or remote backup should therefore be treated as potentially containing secrets, not merely public application records. This matters when handing an installation to another operator.[4]
License and maintenance PocketBase's MIT license permits modification and redistribution under its notice conditions. That permissive source license does not provide a managed hosting or support commitment. The operational choice includes who maintains the server and accommodates breaking changes, in addition to whether the executable is easy to distribute.[1] [3]
Substitution assessment PocketBase can replace selected Firebase-style authentication, record and file-storage functions for an application suited to its single-server design and maintenance expectations. It is not a drop-in Firebase API implementation or a replacement for every managed service. The strongest case is a deliberately rebuilt, compact backend whose operator accepts the documented compatibility limits.[2] [3] [5]
PocketBase can substitute for selected Supabase record, authentication and file-storage workloads when a compact backend is a better fit than a PostgreSQL-centered service stack. Its standalone executable and embedded SQLite database can be convenient for prototypes and deliberately small deployments whose operator accepts the maintenance warning above. This is an application rewrite, not a PostgreSQL-compatible server: schemas, queries, authentication integration and access controls need to be translated. SQL functions or extensions and managed operational services require separate replacements.[2] [3] [4] [7]
PocketBase can substitute for selected Appwrite authentication, record, file and realtime functions when those are the services the application needs. A developer may choose its portable executable and Go or JavaScript extension hooks for a compact, custom backend. Appwrite's broader service family includes Functions, Sites and Messaging; evaluate any dependency on those separately rather than treating the smaller deployment as a complete suite replacement. Rebuild SDK calls and permission rules, and plan file and account migration before cutover.[2] [3] [8]
PocketBase collection rules control listing, viewing, creating, updating and deleting records, and also filter which records are returned. A locked rule is superuser-only, whereas an empty rule allows everyone. Authorized superusers bypass these rules, so successful tests from an administrator session do not establish that normal users are properly restricted. Verify the intended access with ordinary and unauthenticated test clients after translating another backend's permission model.[6]
References PocketBase license MIT license
vendor · retrieved 2026-10-07 PocketBase overview Inspect current readiness warning, SQLite auth/realtime/storage
vendor · retrieved 2026-10-07 PocketBase introduction Pre-1.0 compatibility warning; SQLite backend, standalone executable and Go framework
vendor · retrieved 2026-10-09 PocketBase production guide pb_data snapshot includes localuploads notS3; plaintextsettings secrets unlessencryption; no officialDockerimage
vendor · retrieved 2026-10-07 Firebase product family Auth storage functions hosting; Firestore NoSQL vs SQLConnect PostgreSQL
vendor · retrieved 2026-10-07 PocketBase API rules Collection action rules, record filtering and superuser bypass
vendor · retrieved 2026-10-09 Supabase database overview PostgreSQL foundation and data-security model
vendor · retrieved 2026-10-09 Appwrite product services Auth, databases, storage, functions, sites and messaging
vendor · retrieved 2026-10-09 https://pocketbase.io/docs/ v0.40.4; no full backwards compatibility before1.0, production-critical caution; SQLite
vendor · retrieved 2026-10-07 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.