Skip to main content

Open Source · MIT License

Open-source edge-native BaaS.
Low cost. Low latency. Scale-out by design.

Open-source edge-native BaaS for Database, Auth, Storage, Functions, Room, and Admin UI.
Same app, same behavior — local, self-hosted, or global edge.

npm create edgebase@latest my-app
148×
Cheaper
vs Firebase at 1M MAU scenario
~0ms
Cold Starts
V8 isolates across 300+ cities
$0
Egress
No egress or bandwidth fees
14
SDK Languages
JS · Dart · Swift · Kotlin · Scala · Elixir & more
14
OAuth Providers
Google, GitHub, Apple & more
3
Deploy Modes
Edge · Docker · Node.js

Choose Your Path

Start with the angle you care about most: why the architecture matters, how to ship fast, how to extend the platform, or where to find the exact API surface.

Why Lower Cost at Scale?

Auth MAU billing and transfer charges are two of the biggest cost drivers at scale. EdgeBase removes the first, avoids separate egress and bandwidth fees on the Cloudflare edge stack it builds on, and keeps realtime inside DO compute instead of turning it into a per-recipient bill.

1M MAU scenarioFirebaseSupabaseAppwriteEdgeBase
Auth$4,415$2,925$2,400$0
Egress (100 TB)$12,000$8,978$14,700$0
DB Subscriptions (900M msg)$5,400$2,263$630$0
DB + Compute + Storage$233$131$136$149
Total$22,048/mo$14,297/mo$17,866/mo~$149/mo

1M MAU social app scenario — ~$149/mo. $5/mo is account-level — one subscription covers unlimited projects. Self-hosted (Docker / Node.js): VPS cost only.

Why ~0ms Cold Starts?

V8 isolates at 300+ edge cities worldwide. No container boot, no runtime warm-up.

FirebaseSupabaseAppwriteEdgeBase
Cold startSeconds~1s~1s~0ms
Edge locations❌ single region❌ single region❌ single region300+ cities

Why Scale-Out by Design?

Split data across independent DB blocks — per user, per workspace, per tenant, however you design it — without redesigning around a central app-server bottleneck.

🗄️

Isolated DB Blocks

Dynamic DB blocks can give each user, workspace, or tenant its own isolated SQLite-backed Durable Object. Heavy traffic in one workspace does not slow down another.

🔌

DB Blocks — Physical Isolation

db('user', id) — per-user, per-workspace, or per-company. Each gets an independent database. Zero config sharding.

🔗

Shared DB Block + JOIN

Tables in the same DB block share one SQLite backing database, enabling SQL JOINs. Single-instance blocks can default to D1, while isolated multi-tenant blocks stay on Durable Objects.

Everything Built In

Database · Auth · Storage · Functions · Room · Admin UI — no third-party services needed.

🗄️

Database

SQLite across D1 and Durable Objects — full SQL, JOINs, transactions, FTS5 full-text search (CJK included), automatic schema migrations, UUID v7 cursor pagination, plus PostgreSQL-backed static blocks when you need them.

🔐

Authentication

Email/password, magic link, phone/SMS, MFA, 14 OAuth providers (Google, GitHub, Apple, Discord, Kakao, Naver & more), anonymous auth — $0 forever, no MAU charges.

Database Subscriptions

WebSocket live queries via onSnapshot with server-side filters. Hibernation API keeps idle connections at $0.

📦

Storage

R2-based file storage with $0 egress, signed URLs for upload & download, multipart uploads, and bucket-level access rules.

⚙️

App Functions

DB triggers, HTTP endpoints, cron schedules, and auth hooks (beforeSignUp, afterSignIn, beforePasswordReset) — all server-side TypeScript.

🔒

Access Rules

Deny-by-default TypeScript access rules with auth, resource, request, and context accessors. No eval(), bundled directly into the runtime.

One Codebase, 3 Deploy Modes

The same code runs identically everywhere — no rewrites, no vendor lock-in.

☁️

Cloudflare Edge

npx edgebase deploy
  • ~0ms cold start
  • 300+ global cities
  • Auto-scaling
  • From $5/month (all projects)
🐳

Docker

npx edgebase docker run
  • Full data ownership
  • Single container
  • Volume persistence
  • VPS cost only
💻

Node.js

npx edgebase dev
  • Zero dependencies
  • Dev & production
  • Local filesystem
  • Free

30+ SDK packages across 14 languages

Client and admin SDKs generated from the same API contract.

JavaScript / React Native
Python
Dart / Flutter
Swift
Kotlin
Java
Scala
Go
PHP
Rust
C# / Unity
C++ / Unreal
Ruby
Elixir

At a Glance

FirebaseSupabasePocketBaseEdgeBase
DeployManagedManagedSelf-hostEdge / Docker / Node
Cold StartSeconds~1s0ms~0ms
Auth Cost$275/100K$25/moFreeFree
Egress$0.12/GB$0.09/GBServer$0
Self-Host⚠️ Complex✅ 3 ways
Multi-TenancyManualRLS manualManualDB blocks (1 line)
FTSpg_trgmFTS5 (CJK)
KV / D1 / Vector
LicenseProprietaryApache-2.0MITMIT

Ready to Build?

Your backend is 30 seconds away.