nimbleflux/fluxbase
소개
Backend-as-a-service alternative for Supabase
웹 및 앱 개발What you can do
- Single binary or container deployment
- PostgreSQL as the only external dependency
- Automatic REST endpoint generation
- Row Level Security (RLS) support
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFluxbase
A lightweight, single-binary Backend-as-a-Service (BaaS) alternative to Supabase. Fluxbase provides essential backend services including auto-generated REST APIs, authentication, realtime subscriptions, file storage, and edge functions - all in a single Go binary with PostgreSQL as the only dependency.
Features
Core Services
- PostgREST-compatible REST API: Auto-generates CRUD endpoints from your PostgreSQL schema
- GraphQL API: Full GraphQL support with configurable depth/complexity limits
- Authentication: Email/password, magic links, OAuth2 (Google, GitHub, Microsoft, etc.), OIDC, SAML SSO, MFA/TOTP
- Realtime Subscriptions: WebSocket-based live data updates using PostgreSQL LISTEN/NOTIFY
- Storage: File upload/download with access policies (local filesystem or S3), image transformations
- Edge Functions: JavaScript/TypeScript function execution with Deno runtime
- Background Jobs: Long-running tasks with progress tracking, retry logic, cron scheduling
- RPC/Procedures: SQL-based serverless procedures with scheduling and RBAC
- Webhooks: Event-driven webhook delivery for database changes with retries and HMAC signing
- Vector Search: pgvector-powered semantic search with automatic embeddings
- AI/RAG: Knowledge bases, chatbots, and entity extraction
- MCP Server: Model Context Protocol for AI assistant integration
- Multi-Tenancy: Tenant isolation with RLS, separate databases, and per-tenant config
- Database Branching: Isolated dev/test environments with GitHub PR integration
Key Highlights
- Single binary or container deployment
- PostgreSQL as the only external dependency
- Automatic REST endpoint generation
- Row Level Security (RLS) support
- TypeScript SDK + React hooks
- Built-in observability (Prometheus metrics, OpenTelemetry tracing)
- Horizontal scaling with leader election
Quick Start
Prerequisites
- Go 1.26.9+ (see
.tool-versions) - PostgreSQL 16+ (with pgvector)
- Node.js 24 / Bun (see
.nvmrc; for admin UI and SDKs) - Deno (for edge functions runtime)
Build & Run
The fastest path is the Docker quick-start script, which generates the required secrets and starts the stack for you:
./scripts/quick-start.sh
To build and run from source instead:
# Clone the repository
git clone https://github.com/nimbleflux/fluxbase.git
cd fluxbase
# Build the binary (also builds the TypeScript + React SDKs and admin UI)
make build
# Or run in development mode (backend + admin UI)
make dev
macOS note:
make buildenables the Tesseract OCR feature, which needs the Leptonica C headers. Install them withbrew install tesseract leptonica— the Makefile handles the Homebrew keg paths automatically. To build without any C media dependencies, usemake build-lite. See Building from Source for full macOS/Linux instructions and troubleshooting.
Linux note: the default
ocrbuild tag needs the same C libraries from your package manager, e.g.sudo apt install libtesseract-dev libleptonica-dev(Debian/Ubuntu) orsudo dnf install tesseract-devel leptonica-devel(Fedora). Without them, usemake build-lite/make dev-lite.
For Docker-based deployment, see the deployment guide.
SDKs
make build and make dev build the TypeScript and React SDKs automatically (rebuilding only when their sources change). Build them manually for standalone development or to test the published artifacts:
# TypeScript SDK
cd sdk && bun install && bun run build
# React SDK
cd sdk-react && bun install && bun run build
For more information, see the quick start guide.
Development
make setup-dev # Install dependencies + git hooks
make test # Unit tests
make test-full # All tests including E2E
make lint-go # Go linting
make cli-install # Build and install CLI
See AGENTS.md for a detailed codebase guide and architecture overview.
Support
- GitHub Issues: github.com/nimbleflux/fluxbase/issues
- Documentation: fluxbase.eu
- Discord: discord.gg/BXPRHkQzkA
License
This project is licensed under the terms described in docs/src/content/docs/intro.md.
관련 프로젝트 살펴보기
불러오는 중…