# Open-source alternatives to Firebase

> Firebase: Google's backend-as-a-service with database, auth, storage and functions. The best self-hosted, open-source alternatives are PocketBase, Appwrite and Supabase. All of them can run on your own server, so your data stays under your control. 6 of the 7 apps here are open source; 1 is source-available.

## Key facts

| Fact | Value |
|---|---|
| Commercial product | Firebase |
| Category | Low-code & Backend |
| Alternatives listed | 7 |
| Top pick | PocketBase (61,293 stars, MIT) |
| Canonical URL | https://appsgit.com/alternatives/firebase |

## Alternatives, in recommended order

- [PocketBase](https://appsgit.com/apps/pocketbase): Backend for your next SaaS and Mobile app in one file. (61,293 stars, MIT, Go, Docker)
- [Appwrite](https://appsgit.com/apps/appwrite): End to end backend server for web, native, and mobile developers 🚀. (57,577 stars, BSD-3-Clause, PHP, Docker)
- [Supabase](https://appsgit.com/apps/supabase): Postgres development platform with auth, realtime, storage and edge functions, the open-source Firebase alternative. (111,147 stars, Apache-2.0, TypeScript, Docker)
- [Directus](https://appsgit.com/apps/directus): An 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. (38,026 stars, MSCL-1.0-GPL, source-available, TypeScript, Docker)
- [TrailBase](https://appsgit.com/apps/trailbase): Open, sub-millisecond, single-executable FireBase alternative with type-safe REST & realtime APIs, built-in JS/TS runtime, auth & admin UI. (5,645 stars, OSL-3.0, Rust, Docker)
- [Hasura](https://appsgit.com/apps/hasura): Fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events. (32,131 stars, Apache-2.0, TypeScript, Docker)
- [Manifest](https://appsgit.com/apps/manifest): Complete backend that fits into 1 YAML file. (7,553 stars, MIT, TypeScript)

## Comparisons

- [PocketBase vs Supabase](https://appsgit.com/compare/pocketbase-vs-supabase)
- [Appwrite vs Supabase](https://appsgit.com/compare/appwrite-vs-supabase)
- [Strapi vs Directus](https://appsgit.com/compare/strapi-vs-directus)

More in this category: [Low-code & Backend](https://appsgit.com/categories/low-code)

---

Canonical page: https://appsgit.com/alternatives/firebase
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
