Bknd is a lightweight backend for database management, authentication, media, and workflows. It runs on many runtimes and frameworks and can be deployed standalone, in Docker, or embedded in apps.
Overview
Bknd aims to give app teams a visual backend for common primitives: structured data, authentication, media handling, and workflow automation. It is built on web platform APIs so the same stack can run in Node.js, Bun, Deno, the browser, edge platforms, and serverless targets.
Functionality is modular and opt-in, with adapter-based access to databases and storage. Supported data stores include SQLite variants (including LibSQL and Cloudflare D1) and Postgres backends such as vanilla Postgres, Supabase, Neon, and Xata. Storage adapters cover S3-compatible services, Cloudflare R2, Cloudinary, filesystem, and related options.
Teams can run bknd through a CLI in standalone mode, inside JavaScript runtimes, or bundled with React-oriented frameworks including Next.js, React Router, and Astro. Deployment options listed in the project materials include Docker, Cloudflare Workers, Vercel, Netlify, AWS Lambda, and similar hosts.
The package also ships an admin UI, a TypeScript SDK, React hooks, REST and OpenAPI access, and built-in MCP server support. Documented use cases range from CMS-style content apps and multi-tenant SaaS to API-first products, AI agent state, prototypes, and small-footprint embedded scenarios.
Key features
- REST API for data, auth, media, flows
- Visual admin UI for configuration
- Multiple database and storage adapters
- TypeScript SDK and React hooks
- Standalone CLI and embedded framework modes
- MCP server for backend control
- OpenAPI and type-safe API access
- Row-level security for multi-tenant apps
Use cases
- CMS-style content backends
- Multi-tenant SaaS prototypes
- AI agent state and persistence
- API-first applications without vendor lock-in
- Minimal-footprint IoT or embedded backends
Open-source alternative to
Firebase“Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.” source