> /v1/alternatives/firebase
Open source alternatives to Firebase[012]
Firebase provides a hosted app backend with realtime and document databases, authentication, file storage, push and serverless functions. Below are 12 self-hostable open source alternatives, ranked by GitHub popularity.
PocketBase
Open Source backend in 1 file
★ STARS
58.2k
⑂ FORKS
3.4k
Appwrite
Your backend, minus the hassle
★ STARS
56.0k
⑂ FORKS
5.3k
Ory Hydra
OpenID Certified™ OpenID Connect and OAuth Provider written in Go
★ STARS
17.1k
⑂ FORKS
1.5k
Turso
The Open Contribution Fork of SQLite
★ STARS
16.7k
⑂ FORKS
486
Zitadel
Identity infrastructure, simplified for you.
★ STARS
13.7k
⑂ FORKS
1.1k
Encore
Open source framework for building robust type-safe distributed systems with declarative infrastructure
★ STARS
11.9k
⑂ FORKS
573
Convex
The open-source reactive database for app developers
★ STARS
11.5k
⑂ FORKS
706
Instant
Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
★ STARS
10.2k
⑂ FORKS
351
NHost
The Open Source Firebase Alternative with GraphQL.
★ STARS
9.2k
⑂ FORKS
571
Soketi
Next-gen, Pusher-compatible, open-source WebSockets server. Simple, fast, and resilient.
★ STARS
5.6k
⑂ FORKS
356
Bknd
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
★ STARS
3.7k
⑂ FORKS
146
undb
Private first self-hosted no code database & BaaS.
★ STARS
2.9k
⑂ FORKS
148
// EDITOR'S TAKE
Appwrite is the closest like-for-like, matching Firebase's auth, storage, functions and realtime APIs with client SDKs for most platforms. PocketBase does the same job in a single Go binary when your scale fits on one machine, and Convex or Instant are the better picks when live-syncing state to clients is the whole point of the app.
// FREQUENTLY ASKED
What is the best open source Firebase alternative?
PocketBase is the most popular open source Firebase alternative by GitHub stars (58,190 stars). The other 11 options are ranked above.
Are these Firebase alternatives self-hostable?
Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.
Are they free?
All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.
// PART OF THESE COLLECTIONS