~/tools/supabase
Supabase
tool

Supabase

Supabase is an open source backend platform built on Postgres — a Firebase alternative that gives you a hosted database, authentication, file storage, instant APIs, and edge functions to build web, mobile, and AI apps.

What is Supabase?

Supabase is an open source backend-as-a-service platform built on PostgreSQL. It gives your app a dedicated Postgres database wrapped with authentication, file storage, auto-generated REST and GraphQL APIs, realtime subscriptions, and serverless edge functions — the building blocks of a backend, without assembling them yourself.

What is Supabase best for?

Developers who want a Postgres-backed backend for web, mobile, or AI apps without managing servers — and teams who prefer a real relational SQL database (with row-level security) over a proprietary NoSQL store. It’s a strong fit when you want the fast setup of a hosted backend like Firebase but want to own your data and avoid lock-in.

What can Supabase do?

  • Provision a full Postgres database with instant REST and GraphQL APIs (via PostgREST)
  • Handle auth — email/password, magic links, and social/OAuth logins — enforced with row-level security
  • Store and serve files through a scalable object storage layer with CDN delivery
  • Push live database changes to clients over realtime websocket subscriptions
  • Run server-side logic with Deno-based edge functions
  • Build AI features using pgvector for embeddings and vector similarity search
  • Self-host the whole stack with Docker, or use the managed Supabase Cloud

Is Supabase free?

Yes — Supabase is free to self-host under the Apache-2.0 license, and you only pay for your own server. The managed cloud has a free tier (2 active projects, 500 MB database each, paused after a week of inactivity), then a Pro plan at $25/month and a Team plan at $599/month for larger or compliance-bound teams.

Where does Supabase fall short?

  • Offline support is less mature than Firebase — there’s no full offline-sync SDK, so apps with spotty connectivity must handle caching and conflict resolution themselves.
  • It expects SQL knowledge. Designing schemas and writing row-level security policies has a steeper learning curve than Firebase’s schemaless NoSQL approach.
  • The self-hosted build trails the managed cloud — some newer features and dashboard conveniences ship to Supabase Cloud first (or only), so running it yourself trades a bit of the feature set for full data ownership.

What does Supabase replace?

Supabase is an open source alternative to Firebase, Google’s app backend platform. It covers the same core jobs — database, authentication, storage, and realtime updates — but on an open Postgres foundation you can self-host, with SQL instead of Firestore’s NoSQL and no per-read billing.

FAQ

Is Supabase open source? Yes. The platform is released under the Apache-2.0 license and built on open source components like PostgreSQL, PostgREST, and GoTrue. You can self-host the entire stack.

Can I self-host Supabase for free? Yes. Self-hosting with Docker or the Supabase CLI is free — you only pay for the server it runs on. The managed Supabase Cloud is the paid, convenience option.

Is Supabase a good Firebase alternative? For most apps, yes — especially if you want a relational SQL database, open source components, and no vendor lock-in. Firebase still leads on built-in offline sync and mobile SDK maturity.

What do I need to self-host Supabase? A server with Docker. The self-hosted stack runs Postgres plus the Supabase services — auth, storage, realtime, APIs, and edge functions — via Docker Compose.