Skip to content

Fluxbase

A lightweight, self-hosted Backend-as-a-Service with PostgreSQL, real-time subscriptions, authentication, storage, and edge functions.

PostgreSQL Database

Full PostgreSQL with PostgREST-compatible API, row-level security, and real-time subscriptions.

Authentication

Built-in auth with JWT tokens, OAuth providers, 2FA support, and user management.

Edge Functions

Deploy serverless JavaScript/TypeScript functions with Deno runtime.

Storage

S3-compatible object storage with signed URLs, resumable uploads, and access policies.

Real-time

WebSocket-based real-time subscriptions for database changes, broadcasts, and presence.

Background Jobs

Scheduled and queued background jobs with retry logic and monitoring.

Self-Hosted

Single binary deployment with Docker support. Own your data.

Terminal window
# Pull and run with Docker
docker run -p 8080:8080 ghcr.io/fluxbase-eu/fluxbase:latest
# Or use Docker Compose for production
curl -O https://raw.githubusercontent.com/fluxbase-eu/fluxbase/main/docker-compose.yml
docker compose up -d

Then connect with the TypeScript SDK:

import { createClient } from "@fluxbase/sdk";
const client = createClient("http://localhost:8080", "your-api-key");
// Query data
const { data, error } = await client.from("posts").select("*");
// Subscribe to changes
client
.channel("posts")
.on("postgres_changes", { event: "*", table: "posts" }, (payload) => {
console.log("Change:", payload);
})
.subscribe();