Self-hosted alternatives to Firebase
Self-hosted backend platforms with a database, auth and file storage.
Facts below come from each project's own documentation; every claim links to the page it came from. We have not benchmarked these apps. Facts checked 2026-11-27. Features you rely on may differ, so check the project docs before migrating.
Supabase (self-hosting)
Supabase is the Postgres development platform, building Firebase-like features on open source tools.
- Licence
- Apache-2.0
- Needs
- Docker Compose stack of many services; minimum 4 GB RAM, 2 CPU cores, 40 GB SSD
Documented features
- Postgres database with auto-generated REST, GraphQL and Realtime APIs [source]
- Authentication and authorization [source]
- File storage, edge functions and database functions [source]
- AI and vector/embeddings toolkit and a Studio dashboard [source]
What to know / what you give up
Appwrite
Appwrite is an open-source platform for building and scaling apps, available as managed cloud and self-hostable.
Documented features
- Auth with email, SMS, OAuth, anonymous sessions and magic URLs [source]
- Databases, file Storage, Functions and Sites hosting [source]
- Messaging (email, SMS, push) and Realtime subscriptions [source]
- Runs on any OS that can run Docker CLI, installed with one command [source]
What to know / what you give up
PocketBase
PocketBase is an open source Go backend with an embedded SQLite database, realtime subscriptions, files and users management, and an admin UI.
Documented features
- Embedded SQLite database with realtime subscriptions [source]
- Built-in files and users management [source]
- Admin dashboard UI and REST-ish API [source]
- Single executable; extendable with JavaScript or as a Go framework [source]
What to know / what you give up
What you give up by self-hosting
- You run the server: updates, backups and security are your job, not a vendor's.
- Availability depends on your hardware and network.
- Check each app's limits above, especially features reserved for paid editions.
Head-to-head: Supabase (self-hosting) vs PocketBase