OSS Alts.

Search alternatives

Backend-as-a-Service 4 alternatives tracked

Open-source alternatives to Firebase

Firebase is Google's Backend-as-a-Service platform providing Firestore (NoSQL database), Authentication, Storage, Cloud Functions, Hosting, and Realtime Database for web and mobile apps. Developers use it to build and deploy full-stack applications without managing server infrastructure. Its tight Google ecosystem integration (Google Sign-In, Analytics, Crashlytics) is a primary driver for adoption.

Most recent activity in this list: · How we rank

Share: X Reddit HN LinkedIn

At a glance — how these 4 alternatives compare

Our read on each project's adoption, maintenance activity and commercial-use risk, derived from GitHub signals and SPDX license terms rather than star count alone. Sorted by stars. How we score.

Project Adoption Maintenance Commercial use
★ 104,573 · TypeScript
Flagship Active Low risk
Embed in a proprietary product with no copyleft obligation
★ 59,210 · Go
Flagship Active Low risk
Embed in a proprietary product with no copyleft obligation
★ 56,366 · TypeScript
Flagship Active Low risk
Embed in a proprietary product with no copyleft obligation
★ 9,202 · Go
Mainstream Active Low risk
Embed in a proprietary product with no copyleft obligation

The alternatives

supabase

★ 104,573 TypeScript Apache-2.0

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

supabase/supabase Updated 2026-06-21
Latest release v1.26.05 (2026-05-07) · 6 releases in the last year · 1,093 open issues & PRs

pocketbase

★ 59,210 Go MIT

Open Source realtime backend in 1 file

pocketbase/pocketbase Updated 2026-06-20
Latest release v0.39.4 (2026-06-14) · 53 releases in the last year · 16 open issues & PRs

appwrite

★ 56,366 TypeScript BSD-3-Clause

Appwrite® - complete cloud infrastructure for your web, mobile and AI apps. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime and more

appwrite/appwrite Updated 2026-06-20
Latest release 1.9.0 (2026-04-01) · 4 releases in the last year · 988 open issues & PRs

nhost

★ 9,202 Go MIT

The Open Source Firebase Alternative with GraphQL.

nhost/nhost Updated 2026-06-20
Latest release @nhost/[email protected] (2026-06-12) · 79 releases in the last year · 128 open issues & PRs

Editor's take

Yusuke Morinaga · last revisited

The hard part of leaving Firebase isn't finding a backend — it's that you're also leaving NoSQL.

Most “Firebase alternative” advice skips the only thing that actually makes this migration painful: Firestore is a NoSQL document store, and every option below moves you to a relational model — Postgres for Supabase and nhost, embedded SQLite for PocketBase. The work isn’t standing up a new backend — all four below do that well — it’s reshaping a denormalised, document-shaped data model into tables (or deciding not to). Get that decision right and the rest is straightforward. Get it wrong and you spend a month fighting your own schema.

Supabase — the default, and the one that forces the data-model question

Supabase (102.7k stars, the most in this list by a wide margin, Apache-2.0) is the feature-complete answer: Postgres, auth, storage, realtime subscriptions, edge functions, self-hostable or managed. Apache-2.0 is a clean, permissive license with no asterisk — the easiest licensing story here. The reason it is the default is breadth: it covers the most Firebase surfaces in one project. But it is also the project that confronts you most directly with the NoSQL→SQL reshape, because you are now in a relational world with foreign keys and row-level security. That is more upfront design than Firestore asked for, and more power once you are through it. If your data was already fairly relational underneath the Firestore document wrapping, this is the obvious move.

PocketBase — the single-binary antidote to Firebase’s sprawl

PocketBase (58.4k stars, Go, MIT) is the one I reach for when the project is small and Firebase felt like overkill. It is one Go binary with embedded SQLite covering auth, file storage, and realtime — you scp it to a $5 VPS and you have a backend. MIT licensed, the cleanest possible terms. For a side project, an MVP, or a mobile app with modest concurrency, this is dramatically less to operate than Supabase. The honest ceiling: it is SQLite, single-node, so it is not the pick for an app expecting high write concurrency or horizontal scale. Know which side of that line you are on.

Appwrite — the closest “platform” feel for multi-platform apps

Appwrite (56.1k stars, TypeScript, BSD-3-Clause) is the one whose shape most resembles Firebase as a console-driven platform with first-class SDKs across web, iOS, Android, Flutter, and more. If what you valued about Firebase was the breadth of official client SDKs and a console UI rather than the specific database, Appwrite ports that mental model most directly. BSD-3-Clause is permissive and embedding-friendly.

nhost — only if you specifically want GraphQL

nhost (9.1k stars, TypeScript, MIT) is essentially “Supabase but with Hasura GraphQL on top of Postgres”. It is the right pick only if your frontend was already built around GraphQL and you want that to be the primary API surface. For everyone else, Supabase’s larger community and broader feature set make it the safer bet at the same Postgres foundation.

The features with no replacement

Be clear-eyed about what does not come over: Crashlytics, Performance Monitoring, and Firebase’s A/B testing / Remote Config have no direct open-source equivalent in any of these. If those were part of your stack, you will be wiring up Sentry (or similar) and a feature-flag service separately. Plan for them as line items, not afterthoughts — they are genuinely the stickiest part of the Google ecosystem.

Comparison notes

Supabase is the most feature-complete OSS Firebase alternative, providing Postgres instead of NoSQL, authentication, storage, real-time subscriptions, and serverless functions — self-hostable or managed. PocketBase is a single Go binary with a built-in SQLite backend covering auth, storage, and real-time for smaller projects. Appwrite provides a comparable feature set with multi-platform SDK support. The main gaps: Firebase's Crashlytics, Performance Monitoring, and A/B Testing features have no direct OSS equivalents. Firestore's NoSQL data model requires data model changes when migrating to Supabase's Postgres; this is the largest migration challenge.

Migration tips

  • Export Firestore data using firebase-tools (firebase firestore:export) to a JSON/NDJSON format
  • Write a migration script to convert Firestore's document-collection model to Supabase's relational tables — this requires schema design decisions
  • Migrate Firebase Authentication users via the Auth REST API export and import into your OSS tool's auth system
  • Recreate Firebase Cloud Functions as Supabase Edge Functions or Appwrite Functions — function logic ports but API surface differs
  • Update all client SDKs from Firebase SDK to your target's SDK and test each auth flow, real-time listener, and storage operation

Which alternative should you pick?

We don't believe in a single "best" answer here — the right project depends on your license constraints, team size, and tolerance for early-stage tooling. The 4 projects above each have a distinct profile. Use this decision tree:

  • You want the most active community and the lowest risk of abandonmentsupabase. 104,573★ — the largest user base in this list, which usually means more StackOverflow answers, more plugins, and more deployment runbooks online.

License & commercial-use notes

For an open-source replacement the license often matters more than any single feature — it decides whether you can modify the project, embed it in a product, or offer it as a hosted service. Here is how the 4 projects on this page break down:

  • Permissive (supabase, pocketbase, appwrite, nhost) — MIT / Apache / BSD / ISC — modify and embed inside a commercial product with no copyleft obligation. The safest bucket for shipping in a proprietary codebase.

License fields come from the GitHub API's SPDX classification and can lag a relicense. The repository linked on each card is authoritative — confirm its LICENSE file before any license-sensitive deployment.

Maintenance health of these 4 projects

Of the 4 projects listed, 4 shipped at least one commit in the last 12 months. See how we rank for the full criteria and our self-hosting cost reality check, which apply across every comparison on this site.

Frequently asked questions

How do these 4 alternatives compare on maintenance health?

4 of 4 have shipped a commit in the last 12 months. At least one project here has 5,000+ GitHub stars, which usually correlates with sustained maintainership. Always check the last-pushed date in the cards above and read the latest 5 closed issues — those two signals together catch 80% of abandoned-project cases.

How this page was compiled

  • Repository facts (stars, license, language, last commit) come straight from the GitHub public API and are linked on each card as the primary source.
  • Editorial analysis is drafted from Firebase's use case and the alternatives' repository metadata, then reviewed by hand.
  • Maintenance signal: 4 of 4 projects shipped a commit in the last 12 months as of the latest rebuild (most recent activity: ).
  • Last editorial review: by Yusuke Morinaga.
  • Spotted an error? Email [email protected] with the page URL (subject prefix [correction]) — we ship corrections within 14 days.