6 self-hosted options
Self-hosted alternatives to Firebase
The best open-source alternative to Firebase is Supabase (Apache-2.0, 115,077 GitHub stars, Docker image). Appwrite stands out for the most commits in the last 12 months (24,296), and Hasura stands out for a permissive Apache-2.0 license.
Directus is also listed but is source-available, so it comes after the open-source picks.
About Firebase: Google's backend-as-a-service with database, auth, storage and functions.
Updated · data from GitHub, refreshed daily
Top picks
- Rank 1:
Supabase
supabase/supabase
Postgres development platform with auth, realtime, storage and edge functions, the open-source Firebase alternative.
Active · last commit Nov 16, 2026
Low-code & BackendTypeScriptDockerStands out for the most GitHub stars.
- Rank 2:
Appwrite
appwrite/appwrite
End to end backend server for web, native, and mobile developers 🚀.
Active · last commit Nov 16, 2026
Low-code & BackendTypeScriptDockerStands out for the most commits in the last 12 months (24,296).
- Rank 3:
Hasura
hasura/graphql-engine
Fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events.
Active · last commit Nov 12, 2026
API ManagementTypeScriptDockerStands out for a permissive Apache-2.0 license.
At a glance
Firebase alternatives compared
Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.
| App | Stands out for | License | GitHub stars | Commits (12 mo) | Last commit | Docker image |
|---|---|---|---|---|---|---|
| Supabase | the most GitHub stars | Apache-2.0 | 115,077 | 6,491 | Nov 16, 2026 | Yes |
| Appwrite | the most commits in the last 12 months (24,296) | BSD-3-Clause | 58,104 | 24,296 | Nov 16, 2026 | Yes |
| Hasura | a permissive Apache-2.0 license | Apache-2.0 | 32,123 | 383 | Nov 12, 2026 | Yes |
| Manifest | a permissive MIT license | MIT | 7,636 | 4,126 | Nov 12, 2026 | No |
| TrailBase | its Rust codebase | OSL-3.0 | 5,769 | 1,151 | Nov 16, 2026 | Yes |
| Directus | – | source-available, Monospace Sustainable Core License 1.0 | 38,727 | 772 | Nov 16, 2026 | Yes |
Full list
All 6 Firebase alternatives
Open any app for live stats, license details and a deploy option.
- 1
Supabase
Postgres development platform with auth, realtime, storage and edge functions, the open-source Firebase alternative.
Low-code & BackendDockerStands out for the most GitHub stars. Supabase has 115,077 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 6,491 commits in the last year.
- 2
Appwrite
End to end backend server for web, native, and mobile developers 🚀.
Low-code & BackendDockerStands out for the most commits in the last 12 months (24,296). Appwrite has 58,104 GitHub stars, uses the BSD-3-Clause license, ships a Docker image and had 24,296 commits in the last year.
- 3
Hasura
Fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events.
API ManagementDockerStands out for a permissive Apache-2.0 license. Hasura has 32,123 GitHub stars, uses the Apache-2.0 license, ships a Docker image and had 383 commits in the last year.
- 4
Manifest
Complete backend that fits into 1 YAML file.
Low-code & BackendAI-nativeStands out for a permissive MIT license. Manifest has 7,636 GitHub stars, uses the MIT license and had 4,126 commits in the last year.
- 5
TrailBase
Open, sub-millisecond, single-executable FireBase alternative with type-safe REST & realtime APIs, built-in JS/TS runtime, auth & admin UI.
Low-code & BackendDockerStands out for its Rust codebase. TrailBase has 5,769 GitHub stars, uses the OSL-3.0 license, ships a Docker image and had 1,151 commits in the last year.
- 6
Directus
Instant App & API for your SQL Database. Directus wraps your new or existing SQL database with a realtime GraphQL+REST API for developers, and an intuitive admin app for non-technical users.
Source-availableDatabase ManagementDockerDirectus has 38,727 GitHub stars, is source-available under the Monospace Sustainable Core License 1.0 (not an open-source license), ships a Docker image and had 772 commits in the last year.
Is there a free alternative to Firebase?
Yes. 5 of the 6 apps on this page are open source; 1 is source-available. The open-source ones are free to self-host without per-user fees; source-available licenses add conditions such as user caps or limits on hosted use, so read them before you commit.
Can I self-host an alternative to Firebase with Docker?
Yes. 5 of the 6 apps here publish a Docker image, including Supabase, Appwrite and Hasura, so you can run them on a home server or VPS with Docker Compose.
Which Firebase alternative is the most actively developed?
Appwrite (BSD-3-Clause), with 24,296 commits in the last 12 months. Activity is a good sign that bugs and security issues get fixed.
How is this list ranked?
Open-source apps come first, then source-available ones and apps whose license appsgit could not verify; within each group, projects with at least 12 commits in the last 12 months come before less active or archived ones, then by GitHub stars.