qmetrics.net

Best Open-Source Alternatives to Firebase

Firebase by Google is a commercial product. These open-source projects say they can replace it.

The most popular open-source alternative to Firebase is Supabase, with 115.6k GitHub stars. Other open-source alternatives to Firebase are Appwrite, Parse Server, GUN and NHost (5 more below). Most Firebase alternatives here are Frameworks & Platforms tools, some are Databases. The first 8 say in their own README or website that they can replace Firebase (the quote is shown under each one); the other 2 do the same job, shown with their own description.

Stars and activity updated 27 November 2026.

Sort:Most starsRecentA–Z

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database
“Supabase is an open-source Firebase alternative”

GUN

Decentralized graph sync and embedded data engine

GUN is a JavaScript graph database protocol for realtime peer-to-peer sync, offline-first use, and end-to-end encryption. npm install gun gets a small embedded engine for browser and Node.

★ 19.2k⟳ 6 days agoMIT · open core
DatabasesDesktop/CLI app
Open Source Alternative to:Firebase
“like an Open Source Firebase or a Decentralized Dropbox.”

NHost

Open-source GraphQL backend platform with SQL

Nhost provides Postgres, GraphQL, authentication, file storage, and JavaScript or TypeScript serverless functions. Teams can use a hosted cloud app or develop locally with the CLI.

★ 9.4k⟳ todayMIT
Open Source Alternative to:Firebase
“The Open Source Firebase Alternative with GraphQL.”

TrailBase

Single-binary extensible backend with REST and realtime APIs

TrailBase ships as one executable with SQLite or Postgres, Wasmtime extensions, auth, admin UI, and type-safe APIs for mobile, web, or desktop clients.

★ 5.8k⟳ todayOSL-3.0
Open Source Alternative to:Firebase
“An open, sub-millisecond, single-executable Firebase alternative with type-safe APIs, built-in WebAssembly runtime, realtime subscriptions, auth, MCP and admin UI built on Rust, SQLite (PG) & Wasmtime.”

Bknd

Portable visual backend for data, auth, and media

Bknd is a lightweight backend for database management, authentication, media, and workflows. It runs on many runtimes and frameworks and can be deployed standalone, in Docker, or embedded in apps.

★ 3.8k⟳ 27 days agoApache-2.0
Open Source Alternative to:Firebase
“Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.”

Authgear

Open-source authentication and user management for apps, self-hosted or cloud

Authgear is an open-source authentication and identity platform offering passkeys, passwordless login, MFA, SSO and biometrics. It includes a user portal, prebuilt login pages and an Admin API, and runs self-hosted or on Authgear Cloud

★ 2.2k⟳ yesterdayApache-2.0
Open Source Alternative to:Auth0ClerkFirebase+2
“Authgear - A powerful Firebase alternative”

Aptabase

Privacy-first open-source analytics for mobile, desktop, and web

Aptabase collects minimal, session-oriented usage data for apps through many SDKs. It offers a managed cloud service or hosting on your own servers with a built-in dashboard

★ 1.9k⟳ 3 days agoAGPL-3.0
Open Source Alternative to:FirebaseGoogle AnalyticsGoogle Analytics 4+1
“Aptabase is an open-source alternative to Firebase/Google Analytics, specifically built for Mobile, Desktop and Web apps.”

ObjectBox Dart

Embedded Flutter and Dart object database

ObjectBox Dart persists local Dart objects with fast on-device storage for Flutter and Dart apps. It adds vector search and optional sync across devices.

★ 1.2k⟳ 3 days agoApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:Firebase
“It comes with an out-of-the-box Data Sync, making it an effective self-hosted Firebase alternative”

Also does the same job as Firebase

These projects don't call themselves a Firebase alternative, but two independent checks of their own description found they do the same main job.

Appwrite

Agent-ready open-source backend cloud with unified app services

Appwrite bundles auth, databases, storage, functions, messaging, realtime, hosting, and firewall for building apps. It runs as managed cloud or self-hosted on Docker

★ 58.7k⟳ todayBSD-3-Clause
Build & DeploymentSelf-hostable
Open Source Alternative to:Auth0ClerkFirebase
“Appwrite is an open-source developer platform with Auth, Databases, Storage, Functions, Messaging, and Sites. The open-source cloud for agents and developers.”

Parse Server

Node.js backend for mobile and web applications

Parse Server is a backend you deploy on Node.js infrastructure. It integrates with Express and can run alone or inside existing web apps.

★ 21.4k⟳ yesterdayApache-2.0
Open Source Alternative to:Firebase
“Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js.”

Compare Firebase alternatives

Questions about Firebase alternatives

Is there an open-source alternative to Firebase?

Yes. 10 open-source projects can replace Firebase, for example Supabase, Appwrite and Parse Server. 8 of them say so in their own documentation; the other 2 do the same job.

What is the best open-source alternative to Firebase?

Supabase (115.6k GitHub stars) is the most popular open-source alternative to Firebase on GitHub. Appwrite has the most recent code changes. To run it on your own server, look at Supabase, Appwrite and Parse Server, which are self-hostable. The best choice depends on your needs: compare them side by side, for example Supabase vs Appwrite.

Are the open-source alternatives to Firebase free?

All of the 10 projects listed here are free to use under an open-source license, with no license fee: 8 permissive (such as Apache-2.0), 2 copyleft (such as OSL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.

Related commercial products

Google Analytics

Google

15 open-source alternatives

Google Analytics 4

Google

12 open-source alternatives

Google Drive

Google

11 open-source alternatives

Auth0

Okta

10 open-source alternatives

Gemini

Google

10 open-source alternatives

NotebookLM

Google

8 open-source alternatives