PocketBase
The free alternative toSupabase,Firebase,Airtable
PocketBase is an entire backend in a single executable written in Go, barely 12 MB to download. You run it, and you get everything people usually pay Supabase or Firebase for: a SQLite database with realtime subscriptions, user management (email and password, plus about fifteen OAuth2 providers like Google, Apple or GitHub), file storage on your disk or on S3 with thumbnails on the fly, a ready-to-use REST API and a dashboard to create your collections without writing SQL. On the code side, a JavaScript SDK (browser, Node.js, React Native) and a Dart SDK for Flutter. If you need server logic, you write hooks in JavaScript or Go, right inside the same binary. Your data lives in a folder next to the executable: backing up means copying that folder, and the dashboard can do it on its own, locally or to S3. MIT license, over 60,000 stars on GitHub, and a project carried by a single developer, Gani Georgiev, with no company behind it.

Versus Supabase: the match
Price
PocketBase
€0, plus the small server you host it on
Supabase
€22 per month for the Pro plan
Database
PocketBase
Embedded SQLite, in a single folder
Supabase
Hosted PostgreSQL on their side
Hosting
PocketBase
Yours, one binary to run
Supabase
Their cloud, or a heavy Docker stack to self-host
| VS | PocketBase | Supabase ↗ |
|---|---|---|
| Price | €0, plus the small server you host it on | €22 per month for the Pro plan |
| Database | Embedded SQLite, in a single folder | Hosted PostgreSQL on their side |
| Hosting | Yours, one binary to run | Their cloud, or a heavy Docker stack to self-host |
| Scaling | One server, you grow the machine | On demand, billed on usage |
| Server logic | JavaScript or Go hooks inside the binary | Edge Functions |
| Files | On your disk or an S3, thumbnails included | 100 GB included, then 2 cents per GB |
How to install it (even from zero)
No Docker, no database to install: a zip to download, a binary to run, and the dashboard opens in your browser. The prompt also covers the case where you install it on a VPS.
- 1
Paste this prompt into Claude (Code or Desktop)
It downloads the official binary, runs it, creates your admin account, puts it behind HTTPS if you are on a server, and checks with a first collection:
Installe PocketBase (le backend open source en un seul fichier, repo GitHub pocketbase/pocketbase). Demande-moi d'abord si je l'installe sur mon ordinateur ou sur un VPS Linux, et quel est mon système (macOS, Windows ou Linux, x64 ou ARM64). Télécharge la dernière version stable depuis la page des releases du repo officiel pour ma plateforme, décompresse l'archive dans un dossier dédié, puis lance ./pocketbase serve. Ouvre le lien d'installation qui s'affiche au premier lancement et aide-moi à créer mon compte superuser (ou crée-le avec la commande ./pocketbase superuser create si le lien ne s'ouvre pas). Si je suis sur un VPS : mets PocketBase en service systemd pour qu'il redémarre seul, et sers-le en HTTPS sur mon nom de domaine, soit avec le certificat Let's Encrypt automatique de PocketBase, soit derrière un reverse proxy Caddy ou Nginx. Ensuite, dans le tableau de bord d'administration, crée une première collection de test avec deux ou trois champs, ajoute un enregistrement, et vérifie que l'API le renvoie. Explique-moi où sont mes données (le dossier pb_data) et comment les sauvegarder. Explique chaque étape simplement, je débute. Review the GitHub repository and check whether it is safe to install given my machine and my infrastructure. Ask me as many questions as possible, using widgets, to clarify my request and be as precise as you can.
- 2
Create your admin account
On first launch, PocketBase prints an install link and opens it in your browser: you pick an email and a password, and you land on the dashboard. If the link does not open, the superuser create command does the same from the terminal.
- 3
On a VPS, HTTPS and automatic restart
Started with your domain name, PocketBase requests a Let's Encrypt certificate on its own. A systemd service restarts it after a reboot. And in Settings, turn on automatic backups and fill in an SMTP server, otherwise your confirmation emails will end up in spam.
- 4
Before every update, read the changelog
The project is not at version 1.0 yet. An update may require a small manual migration. Back up your data folder, read the release notes, then replace the binary.
What you actually do with it
The backend for your small app or SaaS
A client area, a mobile app in Flutter or React Native, an internal tool: you create your collections in the dashboard, set your access rules, and the SDK does the rest. No server to code to get started.
Prototype in one evening
User accounts, Google login, file uploads, realtime: it is all already there. You spend your time on the interface and the product, not on the plumbing.
Your data in a folder you can copy
Everything fits in a folder next to the binary. To change host, you copy it. To back up, the dashboard zips it, locally or to S3. Nothing is locked inside a vendor.
Project health, at a glance
Before installing an open-source tool, one question matters: is the project alive? These scores are computed from public GitHub data. They are not made up.
93/100
ExcellentVery active, well-maintained project: go ahead with confidence.
- Activity
- 100
- Maintenance
- 100
- Community
- 87
- Maturity
- 90
- Momentum
- 87
Is the code moving? (commits in the last 30 days)
How fresh is the latest update? Fresher is better.
Stars and contributors: people around means help and fixes.
Project age. Old enough to be solid, still alive.
Current pace versus its usual pace: speeding up or dozing off?
The repo in numbers
- GitHub stars
- 61.1k
- Forks
- 3.7k
- Contributors
- 44
- Commits
- 2.5k
- Project age
- 4.2 yrs
- Last commit
- today
- Size
- 143.8 MB
- License
- MIT
Built with
- Go 69.1%
- JavaScript 24.6%
- CSS 6.4%
Scores computed automatically from the GitHub API (last-30-days activity, update freshness, community size, project age). Refreshed daily.
Loucash’s take
8/10
This is the open source alternative to Supabase and Firebase I recommend when you want to understand what you are running. One file, a SQLite database, authentication, files, realtime and a clean dashboard. You start it in five minutes on a VPS at 4 or 5 euros a month, and it holds more than 10,000 realtime connections on a €4 Hetzner VPS, measured by the author himself. What gets in the way, and it needs saying. The project is not at version 1.0: the author warns that compatibility is not guaranteed and that an update may require a manual migration. There is no hosting on offer, so the €22 saving assumes you have a server (and if you are on Supabase's free plan, you save nothing for now, you mostly gain control). It runs on one machine only, no spreading across several servers, and that is a deliberate choice. And it is one person's project, with no company and no paid support: it is very active, with a release out this week, but you depend on a single developer. Last point: the author writes in plain words that if you plan to rely only on an AI without reading the docs, you had better not use PocketBase. The prompt above saves you time, but at least read the introduction and the page on access rules. Do not confuse it with self-hosted Supabase, which is still PostgreSQL and several Docker containers to maintain: PocketBase is the light version, for a freelancer, a small team, a SaaS getting started. If you need PostgreSQL, cloud functions or a huge load, it is not the right tool. For everything else, it is the one I would install first.
It’s for you if: You build an app, a SaaS or an internal tool, you pay or are about to pay for Supabase or Firebase, and you want a complete backend at home that you understand end to end.
Also worth a look in the library
LibreCrawl
Data & analytics€22/moNewThe SEO crawler that combs through your site: titles, meta, broken links, redirects, JavaScript rendering, unlimited exports. What Screaming Frog does, on your machine, without the yearly licence.
View details →
Dokploy
Data & analytics€17/moNewYour own Vercel on a €5 VPS: you connect a Git repo, Dokploy builds, deploys, sets up HTTPS, manages databases and backups. As many apps as you want, no Pro plan.
View details →
Plausible Analytics
Data & analytics€13/moYour website statistics, at home: visitors, sources, pages, goals, on one readable screen. No cookies, no banner, no data sent to Google.
View details →
One email a week that saves you money
Every Tuesday: the open source alternatives that just entered the library, what they replace and what they save you. One email, nothing more.
Free. One email on Tuesdays. Unsubscribe in one click.
Join the Tuesday readers








