bkmr
Beyond Bookmarks: A CLI Knowledge Management System
bkmr is a blazing-fast, feature-rich command-line tool that extends far beyond traditional bookmark management. Store, organize, find, and interact with:
- Web URLs with automatic metadata extraction
- Snippets of code or text
- Local files and directories
- Shell commands for automation
- Documentation with embeddings for semantic search
Why bkmr?
- Lightning-fast: 20x faster than similar Python tools
- Intuitive: Built for developer workflows with powerful search
- Flexible: Handle any type of content — not just web URLs
- Intelligent: Full-text and semantic search capabilities
- Privacy-focused: Local database, no cloud dependencies
Core Features
# Quick fuzzy search with interactive selection
# Advanced filtering with tags
# Add web URLs with automatic metadata
# Store code snippets
# Execute shell commands via bookmark
# Semantic search with AI
Bookmarks
Snippets
Demos
See bkmr in action:
- Getting Started
- Search and Filter
- Edit and Update
- Tag Management
Getting Started
-
Install:
# or via pip/pipx/uv # or via brew -
Setup:
# Configuration # Create database # Optional: Configure location (override config.toml) -
Start using:
# Add your first bookmark # Find it again
Command Reference
| Command | Description |
|---|---|
search |
Search across all content with full-text and tag filtering |
sem-search |
AI-powered semantic search using OpenAI embeddings |
add |
Add new content (URLs, snippets, files, shell commands) |
open |
Launch or interact with stored items |
edit |
Modify existing items |
tags |
View and manage your tag taxonomy |
Advanced Features
- Template interpolation: Use Jinja-style templates in URLs and commands
- Content embedding: Store semantic representations for AI-powered search
- Custom actions: Configure custom behaviors for different content types
- Multiple output formats: Terminal display, clipboard, or JSON export
For detailed documentation on advanced features:
Workflow Integration
bkmr shines as the central hub for your technical knowledge and daily workflow:
- Store information once, find it instantly - Never lose important URLs, commands, or snippets
- Reduce context switching - Launch applications, files, and commands directly from search
- Build a personal knowledge base - Accumulate and organize technical references
- Automate repetitive tasks - Turn complex command sequences into simple bookmarks
Upgrading from Previous Versions
If you're upgrading from a previous version, bkmr will automatically handle database migration to add support for newer features.
Community and Contributions
We welcome contributions! Please check our Contributing Guidelines to get started.