selfhostedworld.com logoselfhostedworld.com

Try describing what you need:

Best open-source alternatives to Supabase

A hosted Postgres backend with auth, storage and realtime APIs.

Supabase provides Postgres with authentication, file storage, realtime updates and auto-generated APIs. Teams switch to cut hosting fees, avoid lock-in or keep data in their own region. Self-hosted open-source backends provide these features via single binaries or containers. They also ship dashboards for managing data and users.

4 alternatives listed

Best for your setup

  • Novice

    TrailBase5.7k
    • Live demo
    • Documented

    70/100 fitHow well this app matches homelab novices, 0 to 100

    See all
  • Expert

    Appwrite57.6k
    • SSO sign-in
    • REST or GraphQL API

    83/100 fitHow well this app matches homelab experts, 0 to 100

    See all
  • Hacker

    PocketBase61.3k
    • Scriptable API
    • Works offline

    82/100 fitHow well this app matches homelab hackers, 0 to 100

    See all
  1. 1Appwrite logo
    57.6k
    BSD 3-Clause "New" or "Revised" LicenseOpen Source — No Paywall

    Appwrite is an open-source development platform aimed at teams building web, mobile, and AI applications. It combines backend services and hosting in a single system so developers can avoid assembling a separate stack for authentication, data storage, file handling, compute, messaging, and deployment. The README positions it as both a managed cloud offering and a self-hosted platform for infrastructure under the user's control. The project is designed for developers who want production-ready primitives without implementing common backend infrastructure from scratch. It supports a broad range of client and server SDKs, and its product suite includes authentication, databases, storage, functions, messaging, and Sites for web hosting. Self-hosting is described as container-based, with installation through Docker, docker-compose, and Kubernetes-oriented deployments, making it suitable for local development as well as controlled production environments.

    Cloud OptionalMulti-UserDockerDocker ComposeKubernetesSource

    Features:

    • authentication
    • multiple login methods
    • session management
    • multi-factor authentication
    • user verification

    +5 more

    Auth:oauthlocal2fa
  2. MIT LicenseOpen Source — No Paywall

    PocketBase is an open source backend framework and standalone server aimed at developers who want a portable backend without assembling a large stack. It packages an embedded SQLite database, user and file management, realtime subscriptions, an admin dashboard, and a REST-ish API into a single Go-based project. The project can be used in two main ways: as a ready-to-run app via prebuilt executables, or as a Go library/toolkit for building custom applications with your own business logic. The README also points to official SDK clients for JavaScript and Dart, making it easy to integrate web, mobile, desktop, and CLI applications with PocketBase's web APIs.

    Offline CapableMulti-UserBinarySource

    Features:

    • embedded SQLite database
    • realtime subscriptions
    • files management
    • users management
    • admin dashboard UI

    +5 more

    Auth:local
  3. 3Hasura logo
    32.1k
    Apache License 2.0Open Source — No Paywall

    Hasura GraphQL Engine is an open source data access layer and GraphQL platform aimed at developers building modern applications. It exposes data through a single, composable, secure API endpoint and is presented as a project with two major tracks: Hasura V2, the current stable version, and Hasura V3, which powers Hasura DDN. The README emphasizes Hasura V3’s expanded support for multiple databases, including PostgreSQL, MongoDB, ClickHouse, and MS SQL Server, along with connector-based extensibility for custom business logic written in TypeScript, Python, and Go. It is intended for self-hosted and community use, with documentation and support resources provided through Hasura’s docs, community channels, and issue tracker.

    Source

    Features:

    • single composable API endpoint
    • secure data access
    • PostgreSQL support
    • MongoDB support
    • ClickHouse support

    +5 more

  4. TrailBase is a self-hosted backend platform aimed at developers building mobile, web, or desktop applications. It positions itself as an open Firebase alternative that emphasizes very low latency, fewer moving parts, and a single-executable deployment model. The project combines a server, client libraries, documentation, tests, and examples in one repository. Its README highlights type-safe REST and realtime APIs, multi-database support, a WebAssembly runtime, geospatial features, server-side rendering, authentication, and an admin UI. It can be run from pre-built binaries or Docker, and it also supports extending the server with WASM components such as an auth UI.

    Multi-UserDockerBinarySource

    Features:

    • single-executable deployment
    • type-safe REST APIs
    • realtime APIs
    • multi-DB support
    • WebAssembly runtime

    +5 more

    Auth:local

What to look for in a Supabase alternative

Decide if your app requires Postgres directly or just an API over a database. Compare auth providers, row-level security, file storage and realtime support. You run the infrastructure, so plan for backups, upgrades and monitoring. Check client SDKs to gauge rewrite effort.

Other SaaS alternatives

  • 12 alternatives

    A cloud identity platform for authentication and authorization.

    Appwrite, PocketBase, Tyk

    +9 more
  • 31 alternatives

    Platform-as-a-service for deploying web applications.

    Traefik, Appwrite, Dokku

    +28 more
  • 20 alternatives

    A cloud spreadsheet-database hybrid for teams.

    Strapi, PocketBase, Mathesar

    +17 more
  • 67 alternatives

    An all-in-one workspace for notes, docs, and databases.

    AFFiNE, Memos, AFFiNE Community Edition

    +64 more
  • 49 alternatives

    A cloud file sync and sharing service.

    Immich, Syncthing, Cloudreve

    +46 more
  • 36 alternatives

    A long-running personal note-taking and clipping app.

    Memos, Joplin, Logseq

    +33 more
Browse all alternatives