# Briefkasten

Briefkasten is a self-hosted bookmarking app that lets you save and organize web bookmarks on your own server, offering a private alternative to cloud bookmark services. It is open source and self-hosted, installable on Docker Hub, Unraid and TrueNAS.

Canonical page: https://ourlocalhost.com/app/1552/briefkasten

## Description

Briefkasten is a self-hosted bookmarking app that lets you save and organize web bookmarks on your own server, offering a private alternative to cloud bookmark services.

## Platform availability

Available on 2 of 10 platforms: Unraid, TrueNAS.

## Health score

71/100 (Good), based on 4 of 5 factors.
- Maintained: 77 (last commit 20 days ago)
- Popular: 61 (1,181 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)
- Security check: 100 (no serious findings, CI, tests)

## Links

- Docker Hub: https://hub.docker.com/r/ndom91/briefkasten
- Documentation: https://docs.briefkastenhq.com
- GitHub: https://github.com/ndom91/briefkasten
- Official website: https://briefkastenhq.com
- Unraid: https://ca.unraid.net/apps/briefkasten-140v68k1emsmj4?q=Briefkasten
- TrueNAS: https://apps.truenas.com/catalog/briefkasten/

## Common questions

### How should I run Briefkasten self-hosted with Docker?

Use docker-compose.yml for the frontend and backend containers. Add docker-compose.storage.yml to include Postgres and RustFS if you do not want to use hosted database or object storage.

### Which environment variables are required before starting Briefkasten?

Both web and backend need separate .env files. At minimum set DATABASE_URL, BETTER_AUTH_SECRET, BETTER_AUTH_URL, PUBLIC_WORKER_URL, and one Better Auth provider such as GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET.

### How do I initialize an existing v2 database during an upgrade?

If the schema already matches, baseline it with pnpm --filter sveltekasten-web exec prisma migrate resolve --applied 0_init. This records the migration without re-running the DDL.

### What data stores do I need to manage for backups?

The Docker setup can use Postgres for the database and RustFS for S3-compatible object storage. If you use hosted providers instead, those external services are the data sources to manage.

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