OOpenHub
Back to projects
A

Appwrite

Dev Tools

Open source backend platform — auth, databases, storage and functions (Firebase alternative).

TypeScript / PHPLicense: BSD-3-ClauseLevel: intermediate46,000
#backend#auth#database#storage#firebase-alternative#baas

About this project

Appwrite is an open-source, self-hostable backend platform for building web, mobile, and server applications. It provides a complete set of backend services — authentication, databases, file storage, serverless functions, real-time messaging, and push notifications — packaged as a single Docker container you can run anywhere.

Market opportunity

The backend-as-a-service market is worth $7B+ and growing at 20%+ annually. Firebase dominates mindshare, but its vendor lock-in, NoSQL-only database, and unpredictable billing are constant complaints among developers. Appwrite targets this exact frustration with an open-source, multi-database (document + SQL), self-hostable alternative that works for web, iOS, Android, and server-side apps simultaneously. With 46,000+ GitHub stars, it is one of the fastest-growing developer tools on GitHub.

Technical overview

  • Stack: PHP backend, Docker-based, PostgreSQL for data, Redis for caching and queues.
  • Auth: 30+ OAuth providers (Google, Apple, GitHub…), email/password, magic URLs, phone OTP, and JWT tokens.
  • Databases: document model with collection-based schemas, rich query language, relationships, and indexes.
  • Storage: file buckets with image transformations, encryption, anti-virus scanning, and access policies.
  • Functions: serverless runtimes for Node.js, Python, PHP, Ruby, Go, Swift, Kotlin, and more.
  • SDKs: official SDKs for JavaScript, Flutter, iOS, Android, Python, PHP, Go, and 10+ more platforms.

Who's it for

Mobile app developers who need a Firebase replacement they own, full-stack developers building web apps without a backend team, indie hackers who want a complete backend in one Docker command, and companies with data sovereignty requirements.

How to use it

Get started

Self-host (one command):

docker run -it --rm \
  --volume /var/run/docker.sock:/var/run/docker.sock \
  --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
  --entrypoint="install" \
  appwrite/appwrite:latest

The installer asks a few questions and launches the full stack. Open the console at http://localhost, create your first project, and connect your app:

import { Client, Account, Databases } from 'appwrite';
const client = new Client()
  .setEndpoint('http://localhost/v1')
  .setProject('your-project-id');
const account = new Account(client);
const user = await account.create('unique()', 'user@email.com', 'password');

Or use cloud.appwrite.io for a managed version with a generous free tier.

💡 How to make a business with it

How to make money with it

1. Mobile app backend as a service for agencies. Agencies building mobile apps spend weeks setting up backend infrastructure. Offer managed Appwrite instances pre-configured for mobile (push notifications, auth, storage) so they can skip that entirely.

  • Target: Mobile development agencies and freelancers
  • Pricing: $79–$199/month per project including hosting, backups, and on-call support
  • Example: 15 agency clients × $120/month = $21,600/year from shared infrastructure
  • Difficulty: Simple — Docker is straightforward; value is in reliability and support

2. White-label mobile backend platform. Rebrand and resell managed Appwrite as a "Backend for [Your Niche]" — e.g., a dedicated backend platform for Flutter developers, React Native shops, or a specific vertical like fitness apps.

  • Target: Developers in a specific ecosystem
  • Pricing: Tiered from $19/month (hobby) to $149/month (production)
  • Example: 300 customers averaging $50/month = $180,000 ARR
  • Difficulty: Medium — product differentiation is in the onboarding and niche positioning

3. Firebase migration consulting. Target mobile teams locked into Firebase who want to escape. Offer a structured migration that preserves their data, auth tokens, and storage, and repoints their SDKs at Appwrite.

  • Target: Mobile-first startups burning $200–$2,000/month on Firebase
  • Pricing: $3,000–$10,000 migration project
  • Example: 2 migrations/month = $6k–$20k/month in project revenue
  • Difficulty: Medium — requires understanding both Firebase and Appwrite data models

Need technical help?

Want help setting up Appwrite, customizing it, or building your product on top of it? Knock me — let's talk.