OpenSourcePicks

Open source alternatives to popular software, with live GitHub data

GitHub stats refreshed every day

Supabase vs Appwrite

Supabase is the pick if you want to work in SQL on a real Postgres database you can take anywhere. Appwrite is the pick if you want one API for auth, data, multi-language functions, frontend hosting and messaging, with a self-hosted edition close to its cloud.

GitHub figures as of 6 December 2026. Updated .

  • Postgres-based backend with auth, instant APIs, realtime, storage and edge functions

    Choose Supabase if your team thinks in SQL, wants Postgres extensions such as pgvector or PostGIS, and is happy to write authorization as row-level security policies.

  • All-in-one backend with auth, databases, storage, functions, hosting and messaging

    Choose Appwrite if you want frontend hosting, push and SMS messaging and functions in languages beyond TypeScript in one product, and a self-hosted install with projects and features close to the cloud.

Side by side

FactSupabaseAppwrite
GitHub stars115,89958,885
Stars gained in 30 days+1,316+1,014
Last commityesterdaytoday
Repository age7 years7 years
LicenseApache-2.0BSD-3-Clause
PlatformsWebWeb
Self-hosting needsPostgreSQL, DockerDocker, PostgreSQL, Redis
Hosted version by the developersYesYes
Built withTypeScript, Next.js, Go, Elixir, DenoPHP, Swoole, Svelte
Alternative toFirebase, AWS AmplifyFirebase, AWS Amplify

From each project's repository and documentation; GitHub figures refresh daily.

Main features

Supabase

  • Dedicated Postgres database for each project
  • Auto-generated REST and GraphQL APIs
  • Auth with password, magic link, OTP, social login and SSO
  • Row Level Security for per-row access rules
  • Realtime broadcast, presence and database change streams
  • File storage with image transformations
  • Edge Functions in TypeScript on Deno
  • Vector embeddings with pgvector
  • Studio dashboard with table and SQL editors
  • Migration tools for Firebase Auth, Firestore and Firebase Storage

Appwrite

  • Auth with email, SMS, magic URL, OTP, OAuth2, passkeys, anonymous sessions and MFA
  • Table, document and vector databases behind one API
  • Permissions per user, team, team role or label
  • File storage with encryption, compression and image transformations
  • Serverless functions triggered by HTTP, events, webhooks or schedules
  • Hosting for static and server-rendered frontends deployed from Git
  • Email, SMS and push notifications
  • Realtime subscriptions over WebSocket
  • REST and GraphQL APIs with official client and server SDKs
  • Console migration wizard for Firebase, Supabase and Nhost

The short answer

Supabase and Appwrite are the two broadest open source answers to Firebase in our backend-as-a-service guide, but they are built on different ideas. Supabase is Postgres first: every project is a full PostgreSQL database, the REST and GraphQL APIs are generated from your tables, and access rules are row-level security policies written in SQL. Appwrite is API first: you define tables, document collections or vector collections through its console and SDKs, and the storage engine underneath stays out of sight. Appwrite then adds products Supabase does not have, such as frontend hosting and push, email and SMS messaging. The deciding factor is usually whether you want direct SQL access to your data.

Key differences

Supabase Appwrite
Data model Postgres tables, full SQL, extensions Tables, documents and vectors via Appwrite API
Self-hosted database PostgreSQL PostgreSQL (default), MariaDB or MongoDB
Authorization Postgres row-level security Per-resource permissions, optional row security
Enterprise SSO for app users SAML 2.0 (Pro plan and up on cloud) Not documented; OAuth2 with 30+ providers
Functions TypeScript on Deno (Edge Functions) Node.js, Python, Go, PHP, Dart, Rust and more
Realtime Broadcast, Presence, Postgres changes WebSocket channels for all resources
Extra products Analytics and vector buckets, branching (cloud only) Sites frontend hosting, email/SMS/push messaging
Self-hosted projects One per install Organizations and projects
Migration tool No Appwrite importer Imports from Supabase, Firebase and Nhost
License Apache-2.0 (services MIT or Apache-2.0) BSD-3-Clause

Data access. With Supabase you can connect any Postgres client, run migrations in SQL, add extensions such as pgvector, PostGIS or pg_cron, and leave with a standard database dump. Appwrite’s tables have typed columns and relationships, but the database behind a self-hosted instance is an implementation detail you choose once at install and cannot change later.

Authorization. Supabase pushes access control into the database, so a table without a policy is the classic mistake. Appwrite grants read, create, update and delete rights to users, teams, team roles or labels on each resource, which is easier to reason about for app developers who do not write SQL.

Functions and runtimes. Supabase Edge Functions are TypeScript on Deno, with WASM support. Appwrite runs each function in its own container and supports many runtimes; its docs note that not every runtime is available on Appwrite Cloud yet, while self-hosted lists also include .NET, Java, Kotlin, Swift and C++.

Self-hosting Supabase

The supported path is Docker Compose: Postgres, Studio, an Envoy gateway (Kong optional), Auth, PostgREST, Realtime, Storage, imgproxy, postgres-meta, Edge Runtime and the Supavisor pooler, with logging as an opt-in extra. The docs list 4 GB of RAM, 2 cores and 40 GB of SSD as the minimum, 8 GB and 4 cores as recommended. Studio sits behind HTTP basic auth, and tested snapshots arrive roughly monthly. Self-hosted Supabase runs a single project and lacks branching, advanced metrics, managed backups and point-in-time recovery, analytics and vector buckets, ETL and the Management API. It sends no telemetry and is community-supported; Kubernetes options are community-maintained.

Self-hosting Appwrite

A single docker run starts a web wizard that writes the Compose stack: the API, console, realtime and worker containers, the function executor, PostgreSQL (or MariaDB or MongoDB), Redis, ClickHouse and Traefik. The minimum is 2 CPU cores, 4 GB of RAM and 2 GB of swap, and an official Helm chart covers Kubernetes. Upgrades mean a backup, the upgrade command and a data migration step. Appwrite says self-hosted instances get the same features as Cloud, though its Appwrite 2.0 announcement lists a few products that reach Cloud first, such as the firewall and the S3 API for Storage.

Hosted versions

Supabase runs the hosted platform at supabase.com with a Free plan and paid plans; free projects pause after a week of inactivity and you get two active at once. SAML SSO, branching and point-in-time recovery are paid features there. Appwrite Cloud also has a Free plan and paid plans; a free project that hits a limit is frozen with a read-only console. Appwrite Cloud additionally offers native PostgreSQL and MySQL databases with direct connections on paid plans.

Licensing

Supabase’s main repository (Studio, Docker setup, docs) is Apache-2.0. Its services live in separate repositories: Auth and Edge Runtime are MIT; Realtime, Storage and Supavisor are Apache-2.0. Appwrite and its console are BSD-3-Clause. Both are permissive, with no copyleft obligations if you modify and run them as a service, and neither project’s contribution guide mentions a CLA.

Migrating between Supabase and Appwrite

Appwrite’s console has a documented Supabase migration. You supply the database host, port, user and password from the transaction pooler connection string, the project URL and the service_role key. Users, databases and files are supported; rows are partial, because Appwrite’s databases do not support every Postgres feature (advanced indexes, Postgres functions and scheduling are dropped). OAuth users have to sign in again, and functions must be rebuilt by hand. Appwrite does not charge Cloud usage for the migration itself, but Supabase may bill data transfer.

The other direction has no official tool: Supabase’s migration guides cover Firebase, Auth0, Heroku, Neon, MySQL, MSSQL and other Postgres hosts, not Appwrite. You would export data through Appwrite’s API and load it into tables you design yourself.

Who should choose which

  • SQL-literate teams, analytics or AI features on the same data: Supabase. Postgres extensions and direct connections matter here.
  • Mobile and web teams who want one vendor for backend, hosting and notifications: Appwrite.
  • Self-hosters running several apps on one server: Appwrite, since one install holds many projects; self-hosted Supabase needs one stack per project.
  • Teams leaving Firebase: both have documented Firebase importers. Pick Supabase if you are ready to remodel Firestore data into relational tables, Appwrite if you would rather keep a document-style API.
  • Teams leaving AWS Amplify for hosting plus backend: Appwrite covers frontend hosting in the same product; with Supabase you host the frontend elsewhere.

If neither feels light enough, PocketBase runs as a single binary.

Frequently asked questions

Is Appwrite built on Postgres like Supabase?

Not in the same way. A self-hosted Appwrite stores its data in PostgreSQL (the default for new installs), MariaDB or MongoDB, chosen once at setup; MariaDB was the default before version 1.9. You still work through Appwrite's tables, documents and vectors APIs rather than SQL. Appwrite Cloud separately sells native PostgreSQL databases with direct connections on paid plans.

Can I move a Supabase project to Appwrite?

Yes. Appwrite's Migrations feature connects to a Supabase project with its database credentials and service_role key and imports users, databases, rows and storage files. Rows are listed as partial support: Postgres functions, advanced indexes and scheduled jobs stay behind, OAuth users must sign in again and Edge Functions need rewriting.

Which is easier to self-host, Supabase or Appwrite?

Both run a Docker Compose stack of many containers and need at least 2 CPU cores and 4 GB of RAM. Appwrite's installer is a guided web wizard and its console keeps organizations and projects as on Cloud. Self-hosted Supabase is configured through environment variables and runs a single project.

Do Supabase or Appwrite have a paid self-hosted edition?

Neither ships paid-only code in its main repository. Supabase sells its hosted platform and treats self-hosting as community-supported. Appwrite sells Appwrite Cloud and an enterprise self-hosting offer with compliance features and dedicated support.

Both apps are in Backend as a Service, where you can compare all 8. Read the full reviews of Supabase and Appwrite.