# bknd

bknd is a self-hosted development app. Lightweight Firebase alternative with database, auth, storage, and workflows.

Canonical page: https://ourlocalhost.com/app/7988/bknd

## Description

Lightweight Firebase alternative with database, auth, storage, and workflows. Framework-agnostic backend that integrates with NextJS, Remix, Hono and more.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

56/100 (Fair), based on 4 of 5 factors.
- Maintained: 84 (last commit 23 days ago)
- Popular: 72 (3,799 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 10 (3 serious findings, 24 minor, CI, tests)

## Security check

3 serious findings: Uses fast-xml-parser 4.5.3, which has a known critical vulnerability; Uses next 15.3.5, which has a known critical vulnerability; Uses next 15.3.5, which has a known critical vulnerability.
Automated checks on commit 8b93a2b, 24 Nov 2026. Not an audit.

## Links

- GitHub: https://github.com/bknd-io/bknd

## Common questions

### What port does bknd use in Docker and where should I persist data?

The Docker setup exposes the app on port 1337, where you open the admin panel in your browser. Mount a volume at /data — otherwise your database lives only inside the container and disappears if it's recreated.

### Why does my bknd data disappear after a restart?

By default bknd may use an in-memory database, which forgets everything on restart. Set the database URL (e.g. "file:data.db" or the --db-url argument) so content and settings are saved to disk.

### How do I see all the startup options for a bknd instance?

Running "npx bknd run --help" shows every option for starting your instance, including database location and port, so you can pick the right settings before first launch.

### Which Node.js version does bknd require?

bknd requires Node.js 22.13 or higher, because it depends on the node:sqlite module. Bun 1.0+, Deno, and other runtimes are also supported.

### Does bknd guarantee backward compatibility between versions?

No — the project is still under active development and full backward compatibility is not guaranteed before reaching v1.0.0, so be careful when updating.

## Alternatives

- Directus: An Instant App & API for your SQL Database.
- Firebase: Firebase, provided by Google, is a backend service and application development platform.
- Nhost: Nhost is an open source Firebase alternative with GraphQL, built with the following things in mind:
- PocketBase: PocketBase is an open-source backend in a single file that bundles an embedded SQLite database with realtime subscriptions, built-in file a…
- Strapi: Strapi is an open-source headless CMS that turns visual content models into ready-to-use APIs, letting developers build content-powered app…
- Supabase: The open source Firebase alternative.
- TrailBase: TrailBase is an open-source, self-hosted backend-as-a-service (BaaS) and open Firebase alternative that runs as a single executable built o…

---
Source: Our Local Host (https://ourlocalhost.com/app/7988/bknd), the self-hosted and open-source app directory.
