Self-hostable open-source Firebase alternatives
Backend platform: auth, database, storage, functions. Self-hosted BaaS avoids vendor lock-in and usage-based bills.
Among 4 self-hostable open-source Firebase alternatives tracked here, Supabase currently leads on the Self-Host Health Score (100/100, 104k★, last commit today). For a Raspberry Pi or a low-RAM VPS, PocketBase is the lightest at a documented ~512 MB (SQLite). 4 of them publish official ARM64 images (Raspberry Pi / Apple Silicon). 1 offer a one-click deploy (e.g. DigitalOcean).
| Tool | Health | Stars | Database | Min RAM | ARM/Pi | One-click | Updated |
|---|---|---|---|---|---|---|---|
| Supabase
↗
Postgres-based Firebase alternative: auth, realtime, storage, edge fns. |
100 Thriving |
104k★ TypeScript |
PostgreSQL | 4096 MB | ✓ ● | DigitalOcean ↗ | today Apache-2.0 |
| Appwrite
↗
Self-hosted backend: auth, DB, storage, functions and messaging. |
99 Thriving |
56k★ TypeScript |
MongoDB | 4096 MB | ✓ ● | — | today BSD-3-Clause |
| PocketBase
↗
Single-binary backend (SQLite + auth + admin UI); featherweight. |
98 Thriving |
59k★ Go |
SQLite | 512 MB | ✓ ● | — | today MIT |
| Nhost
↗
Postgres + GraphQL backend with auth, storage and functions. |
91 Thriving |
9.2k★ Go |
PostgreSQL | 4096 MB | ✓ ● | — | today MIT |
FAQ
What is the best self-hostable Firebase alternative?
By the live Self-Host Health Score, Supabase ranks highest (100/100).
Which open-source Firebase alternatives run on a Raspberry Pi?
Those publishing official ARM64 images: Supabase, Appwrite, PocketBase, Nhost.
Which is the lightest on RAM?
PocketBase, at about 512 MB.