AltBaseDBAltBase DB
OverviewFeaturesDocsBlogPricing
AlphaGitHub
Built with Rust · Single Binary · Self-Hostable

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.

24 Rust Crates175+ Features47 Auth Providers4 SDKs
Quickstart
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));
24
Rust crates in one binary
175+
Platform features
47
Auth provider presets
50
Dashboard pages
500+
SaaS integrations
4
Client SDKs

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

altbase+PostgreSQL+Redis+NATS

4 containers total

Others

AuthREST APIGraphQLRealtimeStorageFunctionsWorkflowsVector DBCronWebhooksLoggingMetricsGateway

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.

FeatureAltBaseSupabaseFirebaseAppwrite
RuntimeSingle Rust binary13+ microservicesManaged cloudPHP + containers
Self-host containers413+Not possible6-8
Auth providers47 presets30+ presetsLimitedOAuth only
MFA/TOTPBuilt-inEnterprise only
Vector search & RAGFull pipelinepgvector onlyVertex AI
MCP (AI agents)Built-in
Workflow engineDAG with approvalsCloud Tasks
SaaS integrations500+ via Nango~10 FDWsExtensionsWebhooks
Functions runtimeQuickJS + WasmtimeDenoNode.jsMultiple
GraphQLAuto-generatedVia pg_graphql
B2B billingBuilt-in
Feature gatingBuilt-inRemote Config

Built for developers

SDKs, CLI, and type safety

TypeScript

@altbasedb/sdk

npm install @altbasedb/sdk

React

@altbase/react

npm install @altbase/react

Python

altbasedb

pip install altbasedb

Dart

altbasedb

dart pub add altbasedb

CLI

@altbasedb/cli

npm install -g @altbasedb/cli
Terminal
$ altbasedb gen types > src/types/database.ts
$ altbasedb db schema
$ altbasedb status

Start building with AltBaseDB

Deploy a complete backend platform in minutes. One binary, one command, everything included.

Read the docsView on GitHub

Free to self-host · No feature gates · No usage limits

Product

  • Features
  • Pricing
  • Dashboard
  • Docs

Developers

  • Documentation
  • SDKs
  • CLI Reference
  • API Reference

Company

  • Blog
  • GitHub
  • Contact

© 2026 AltBaseDB

Built with Rust