Ship your backend in minutes, not months
AltBaseDB is a complete backend platform — database APIs, auth, storage, realtime, functions, workflows, vector search, and GraphQL — compiled into a single Rust binary.
import { createClient } from "@altbasedb/sdk";
const db = createClient(url, key);
// Query with filters
const { data } = await db
.from("orders")
.select("id, total, status")
.eq("status", "active")
.order("created_at", { ascending: false })
.limit(25);
// Subscribe to changes
db.channel("orders")
.on("postgres_changes", {
event: "INSERT",
table: "orders",
}, (payload) => console.log(payload));Platform capabilities
Everything your backend needs
24 Rust crates compiled into one binary. Every feature shares a unified auth, billing, and API context.
Database APIs
PostgREST-compatible REST CRUD, raw SQL, schema introspection, and automatic index advisory — over tenant-isolated PostgreSQL.
Authentication
Email, OAuth, OIDC, SAML, magic links, MFA/TOTP with 47 provider presets, refresh token families, and row-level security.
Object Storage
Buckets, signed URLs, TUS resumable uploads, image transforms, and pluggable backends for S3, Azure, or local filesystem.
Realtime
WebSocket subscriptions with CDC-driven delivery, presence tracking, client broadcast, and NATS JetStream fan-out.
Functions & Triggers
QuickJS and Wasmtime runtimes with host API bindings. Unified triggers from CDC, auth, storage, cron, and custom events.
Workflows
DAG-based workflow engine with HTTP, SQL, function, approval, branch, loop, and parallel steps. 500+ SaaS integrations.
Vector Search & RAG
Embeddings from four providers, hybrid search with RRF fusion, knowledge collections, and ask-with-citations.
GraphQL & MCP
Auto-generated schema with queries, mutations, subscriptions. Built-in MCP server for AI agent access.
Developer experience
One SDK. Every capability.
const { data } = await db
.from("orders")
.select("id, total, customer(name, email)")
.gte("total", 100)
.order("created_at", { ascending: false })
.limit(25);Why AltBase
One binary. Four containers.
Zero coordination overhead.
AltBase compiles 24 Rust crates into a single ~50 MB binary. Deploy it alongside PostgreSQL, Redis, and NATS. No service mesh, no container orchestration, no cross-service debugging.
AltBase
4 containers total
Others
13+ services to deploy, monitor, and coordinate
Instant cold start
Native Rust binary. No JVM, no V8 startup. Available immediately on boot.
Predictable performance
No garbage collector. 50-100 MB baseline memory. Consistent latency under load.
Unified context
Every request shares one auth, billing, and tenant context. No cross-service race conditions.
Deploy anywhere
Docker, Kubernetes, bare metal, VPS. One 50 MB artifact. No language runtime dependencies.
How AltBaseDB compares
More features. Fewer containers.
| Feature | AltBase | Supabase | Firebase | Appwrite |
|---|---|---|---|---|
| Runtime | Single Rust binary | 13+ microservices | Managed cloud | PHP + containers |
| Self-host containers | 4 | 13+ | Not possible | 6-8 |
| Auth providers | 47 presets | 30+ presets | Limited | OAuth only |
| MFA/TOTP | Built-in | Enterprise only | ||
| Vector search & RAG | Full pipeline | pgvector only | Vertex AI | |
| MCP (AI agents) | Built-in | |||
| Workflow engine | DAG with approvals | Cloud Tasks | ||
| SaaS integrations | 500+ via Nango | ~10 FDWs | Extensions | Webhooks |
| Functions runtime | QuickJS + Wasmtime | Deno | Node.js | Multiple |
| GraphQL | Auto-generated | Via pg_graphql | ||
| B2B billing | Built-in | |||
| Feature gating | Built-in | Remote Config |
Built for developers
SDKs, CLI, and type safety
TypeScript
@altbasedb/sdk
npm install @altbasedb/sdkReact
@altbase/react
npm install @altbase/reactPython
altbasedb
pip install altbasedbDart
altbasedb
dart pub add altbasedbCLI
@altbasedb/cli
npm install -g @altbasedb/cli$ altbasedb gen types > src/types/database.ts
$ altbasedb db schema
$ altbasedb statusStart building with AltBaseDB
Deploy a complete backend platform in minutes. One binary, one command, everything included.
Free to self-host · No feature gates · No usage limits
