selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
Buku logo

Self-host Buku

v5.1

Terminal bookmark manager with an optional local web UI

ReleaseOpen SourceGPL-3.0
Updated4 months ago
LanguagePython
Setup difficultyEasy
ThemeDark mode
Stars
7 253
Port
5001 (Bukuserver web UI HTTP port)
Docker
bukuserver/bukuserver
Install with Docker
Bukuserver home page listing bookmarksBukuserver bookmark statistics viewCreate-bookmark form in BukuserverTag listing page in BukuserverInteractive Swagger API documentation page

What is Buku?

buku is a command-line bookmark manager that keeps your links in a personal, portable and merge-able database, styled as a text-based mini-web. It can grab page titles, tags and descriptions automatically, import bookmarks straight from major browsers, and export or re-import in HTML, XBEL, Markdown, RSS/Atom, Orgfile or its own DB format. Searching covers regex, deep substring matching, tag filters and per-field markers; results can open in your browser, be emitted as JSON, or be edited through your favourite editor. The database supports manual encryption with configurable key iterations, multi-threaded title refresh, and archived-page lookups on the Wayback Machine. Install it with pip, distribution packages, or from source; the companion Bukuserver adds a themed web front-end (including the dark slate theme) and an HTTP REST API, runnable through Docker or Docker Compose on port 5001, with optional nginx-based basic auth in the shipped compose setup. The project is GPL-3.0 licensed, privacy-focused (no tracking or homing), and maintained by Arun Prakash Jana.

Should you self-host Buku?

Buku scores 68/100 on selfhost.directory (how scoring works) and ranks #7 of 46 in Bookmarks & Link Sharing. It has 7 253 GitHub stars, +41 in the last 30 days.

It shipped 1 stable release in the past year. The latest, v5.1, came out on 7 December 2025.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is GPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Karakeep (82/100, 30 401 stars). It scores higher overall, so compare the two before you pick. See Buku vs Karakeep side by side.

Features

  • Advanced search
  • Auto-fetch of title, tags and description
  • Browser bookmark auto-import
  • Command-line bookmark management
  • Database Encryption
  • JSON Output
  • Multi-format import/export
  • Multi-threaded full DB refresh
  • Portable, merge-able database
  • REST APIProvided by the Bukuserver component; described as for personal use only.
  • Shell completion scripts
  • Tag Management
  • Text editor integration
  • Wayback Machine lookups
  • Web UI (Bukuserver)

Buku README

buku

Latest release Availability PyPI Build Status Docs Status Privacy Awareness License GitHub Sponsors

How to install Buku

Install Buku with Docker

docker build -t bukuserver .

docker run -it --rm -v ~/.local/share/buku:/root/.local/share/buku -p 5001:5001 bukuserver

Data persists under ~/.local/share/buku; UI at 127.0.0.1:5001. A published image bukuserver/bukuserver is also used by the compose file.

How to configure Buku

  • BUKUSERVER_PER_PAGE10Number of bookmarks shown per page in Bukuserver

    values: positive integer

  • BUKUSERVER_SECRET_KEYFlask secret key for Bukuserver (env var; all Bukuserver options share the BUKUSERVER_ prefix)

    values: string (default: random value)

  • BUKUSERVER_URL_RENDER_MODEfullHow bookmark URLs are rendered in the web UI (env var)

    values: full, netloc, netloc-tag

  • BUKUSERVER_DB_FILEFull path (or bare DB name) of the buku database file used by Bukuserver

    values: path string

  • BUKUSERVER_DISABLE_FAVICONtrueDisable bookmark favicons; on by default to prevent non-user-triggered network activity

    values: true, false, 1, 0

Buku releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Bookmarks & Link Sharing

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…