LinuxCommandLibrary

buku

Command-line bookmark manager with tagging and search

TLDR

Add bookmark

$ buku -a [https://example.com] [tag1,tag2]
copy
Search bookmarks
$ buku [keyword]
copy
List all bookmarks
$ buku -p
copy
Open bookmark
$ buku -o [index]
copy
Delete bookmark
$ buku -d [index]
copy
Export to HTML
$ buku -e [bookmarks.html]
copy

SYNOPSIS

buku [options] [keywords]

DESCRIPTION

buku is a powerful command-line bookmark manager. It stores bookmarks in a SQLite database with support for tagging, searching, automatic title fetching, and browser integration.
Bookmarks can be organized with comma-separated tags and searched using keywords, regular expressions, or tag filters. The tool automatically fetches page titles and descriptions when adding URLs. Import and export is supported in HTML, Markdown, and JSON formats, enabling migration from browsers and other bookmark managers. An optional web interface (bukuserver) is available for graphical access to the same database.

PARAMETERS

-a, --add url [tags]

Add bookmark
-u, --update index
Update bookmark
-d, --delete index
Delete bookmark
-p, --print [index]
List bookmarks
-o, --open index
Open in browser
-s, --sany keywords
Search (any keyword)
-S, --sall keywords
Search (all keywords)
-e, --export file
Export to HTML
-i, --import file
Import from HTML/Markdown
-t, --tags
List all tags

FEATURES

- Automatic title fetching
- Full-text search
- Tag-based organization
- Browser integration
- Import/export (HTML, Markdown, JSON)
- Encryption support
- Regex search
- Portable database

WORKFLOW

$ # Add bookmark
buku -a https://github.com programming,git

# Search
buku python

# Browse all
buku -p

# Open in browser
buku -o 5

# Update tags
buku -u 5 --tag +docker,-kubernetes

# Export
buku -e bookmarks.html
copy

BROWSER INTEGRATION

Can import from:
- Chrome/Chromium
- Firefox
- Safari

CAVEATS

Requires internet for title fetching. Browser integration needs configuration. Database is local (not synced). Command-line interface may not suit all users. GUI available separately (bukuserver).

HISTORY

buku was created by Arun Prakash Jana around 2015 to provide a fast, privacy-focused bookmark manager for the terminal.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community