
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.
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.

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.
“Supabase is an open-source Firebase alternative”

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.
Firebase“like an Open Source Firebase or a Decentralized Dropbox.”

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.
Firebase“The Open Source Firebase Alternative with GraphQL.”

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.
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.”

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.
Firebase“Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.”

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
“Authgear - A powerful Firebase alternative”

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
“Aptabase is an open-source alternative to Firebase/Google Analytics, specifically built for Mobile, Desktop and Web apps.”

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.
Firebase“It comes with an out-of-the-box Data Sync, making it an effective self-hosted Firebase alternative”
These projects don't call themselves a Firebase alternative, but two independent checks of their own description found they do the same main job.

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
“Appwrite is an open-source developer platform with Auth, Databases, Storage, Functions, Messaging, and Sites. The open-source cloud for agents and developers.”

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.
Firebase“Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js.”
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.
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.
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.