Backend

Self-hosted Firebase alternatives

3 open-source apps you can run on your own server instead of Firebase, whose paid plans start at usage-based (Blaze) (checked 2026-10-01). The install method for each one is taken from its own docs.
Short answer: self-host Supabase, Appwrite or PocketBase instead of Firebase. The software is free to run and you pay for the server. Licenses checked 2026-10-01, install docs read 2026-11-30.
  1. 1
    Supabase

    Open-source Postgres development platform

    Postgres backend with auth, storage and realtime; self-hostable.

    Open source (Apache-2.0) · ★ 111k · Docker Compose

    The self-hosting guide requires Docker and Docker Compose. You pull a pinned Compose setup and start the stack with docker compose. Install docs.

  2. 2
    Appwrite

    Open-source backend for web and mobile apps

    Backend server for web and mobile apps.

    Open source (BSD-3-Clause) · ★ 58k · Docker

    Run the appwrite/appwrite image once with its install entrypoint, which starts a web setup wizard. The docs list Docker Compose v2, 2 CPU cores and 4 GB RAM as requirements. Install docs.

  3. 3
    PocketBase

    Open-source backend in one file

    Backend in one Go binary with SQLite.

    Open source (MIT) · ★ 61k · Single binary

    Download the prebuilt executable for your OS and run ./pocketbase serve. It listens on port 8090. Install docs.

All free Firebase alternatives. All self-hosted alternatives.

Open source: OSI-approved license. Free to self-host: the code is public and free to run yourself, with limits in the license. The install line is left out when I have not read it on the project's own docs.