PocketBase
Awesome PocketBase ¶
Curated list of awesome PocketBase resources.
PocketBase is an open source backend consisting of embedded database (SQLite) with realtime subscriptions, built-in auth management, convenient dashboard UI and simple REST-ish API.
Official Packages¶
-
Golang Server - The main PocketBase server.
-
JavaScript SDK - Browser and Node.js for interacting with the PocketBase API.
- Dart SDK - Multi-platform SDK for interacting with the PocketBase Web API.
Major Community Projects¶
- pocketpages.dev - Server-side JS pages and hosting for PocketBase.
- pockethost.io - Free and pro PocketBase hosting.
- pocodex.dev - The unofficial PocketBase plugin repository and code exchange.
- PocketPorts - NPM/Node.js packages ported to PocketBase JSVM. Official listing is hosted here in awesome-pocketbase.
React¶
- PocketBase React - Unofficial React SDK (React, React Native, Expo) for interacting with the PocketBase JavaScript SDK.
- PocketBase Next.js App Template - PocketBase Next.js Template with server & browser client using cookies.
Svelte¶
- svelte-query-pocketbase - TanStack Query wrappers around PocketBase for Svelte and SvelteKit that updates the query cache in realtime.
- SvelteKit Starter - A starter-kit showing how to use customized PocketBase as a backend to SvelteKit frontend.
- SvelteKit Auth - This project is designed as a sample implementation reference for getting authentication setup using SvelteKit.
- SvelteKit PocketBase Auth - Demo login and registration pages with examples. video.
- pocketbase-sveltekit-static - A minimalist template with configured authorization featuring a single Docker image (from 55 MB) for deploying.
Vue¶
- Vue 3 + Vite starter kit - A starter kit for Vue 3 + Vite + PocketBase.
- Tutorial - Vue 3 tutorial.
- Quasar starter kit - Pocketbase with Quasar.
- PocketNuxt - A Nuxt3 PocketBase starter that builds into a single binary.
Solid¶
- Solid-pocketbase-hooks - Pocketbase hooks for Solid.js
Dart/Flutter¶
- PocketBase Drift - A PocketBase client cached with Drift.
- Dart Generator - Generate type safe client SDKs for use in local SQLite, JSON or GraphQL resolvers.
- PocketBase Server Flutter - A Flutter plugin to run PocketBase server directly from Android/iOS.
C¶
- ORM and code generator - An ORM to manage your PocketBase Application.
D¶
- libpb - PocketBase client wrapper for D with automatic serialization and deserialization to and from JSON.
Node.js¶
- gobot - PocketBase as an npm package. CLI and API.
Unofficial PocketBase Clients (SDKs)¶
- Go - PocketBase Client in Golang.
- Kotlin - PocketBase Client in Kotlin.
- Kotlin (Multiplatform) - PocketBase Client in Kotlin.
- Python (Sync) - PocketBase Client in Python.
- Python (Async) - PocketBase Client in Python.
- C# - PocketBase Client in C#.
- Rust - PocketBase Client in Rust.
- PHP - PocketBase Client in PHP.
Self Hosting¶
- PocketBase Docker - Docker setup supporting multiple architectures and automatically updated with PocketBase releases.
- DigitalOcean - Guide to deploy in a Droplet.
- Fly.io - Guide to deploy for free in Fly.io.
- LocalXpose - Allow public access to a localhost instance.
- PocketBase Docker - Docker images supporting multiple architectures and updated with latest PocketBase releases.
- PocketBase on Dokku - Deploy PocketBase instances on Dokku effortlessly.
Native Go Plugins¶
- Telegram auth - Add Telegram auth (Widget button and WebApp).
- Ngrok - Expose local PocketBase to the internet with ngrok.
- Proxy - Proxy requests to another other host. Can be useful when you want to use separate server as frontend (like Next.js), but serve everything with same port.
- Webhooks - Add webhook support in the admin UI to send
create
,update
anddelete
events on selected collections via POST request to other systems.
TypeScript tools¶
- pocketbase-jsvm - JSVM typings.
- pb_hooks starter kit - Build PocketBase JavaScript hooks using TypeScript.
- PocketBase Typegen - Generate TypeScript types from the SQLite db file.
- typed-pocketbase - Generate types from your PocketBase instance and enjoy fully type-safe queries.
SQLite tools¶
- Marmot - A distributed SQLite replicator with PocketBase tutorial.
- Litestream - Streaming SQLite replication.
- PocketBase+Litestream example - Template showing Litestream running with PocketBase.
- PocketBase with Litestream - Docker example of PocketBase saving/restoring from Litestream.
Other tools¶
- PocketBaseUML - A free, open-source web application that generates UML diagrams based on PocketBase databases.
- PocketBaseMobile - Android and iOS frameworks for running PocketBase from mobile.
- PocketBase+Stripe - Go extended PocketBase for Stripe subscription integration.
- pbf - Library for serializing and deserializing PocketBase filter syntax.
- PocketBase Templates - A open-source collection of PocketBase schemas to quickly get started.
- pocketbase-queue - A type-safe queue for background tasks using PocketBase.
- PocketBase GPT - A GPT that has all of PocketBase's documentation uploaded to it, to give more accurate and up-to-date answers.
Showcases¶
- Vimsnake - A realtime WASM game where Vim commands are used as controller inputs.
- ToDo - React-based To-Do demo app.
- Realtime Blog - A React-based realtime blog demo.
- oAuth - A React-based oAuth demo.
- Flutter Chat App - A chat app using PocketBase in Flutter.
- JustJot - A keyboard-first note-taking full-featured Progressive Web App. frontend repo / backend repo
- Cookie auth demo - A demo of cookie based authentication flow for PocketBase.
PocketPorts Packages¶
Ports of NPM/Node.js packages to the PocketBase JSVM.
OG Package | Ported Package | Description | |
---|---|---|---|
Node.js | pocketbase-node | Node.js core packages (fs , process , etc) |
|
ejs | pocketbase-ejs | Embedded JavaScript templates - http://ejs.co | |
marked | ✅ works without changes | A markdown parser and compiler. Built for speed. |
pocodex Plugins¶
JS plugin ecosystem at pocodex.dev. Mirrored from the pocodex project for convenience.
Name | Description | Installation Command | |
---|---|---|---|
OTP | One-Time Passwords | pocketbase-otp | |
PocketPages | Server-side JS pages | pocketpages |