kb is a minimalist command-line knowledge base manager that gives users a fast, organized way to collect, store, search, and retrieve notes, documents, cheatsheets, procedures, and other artifacts directly from the terminal. It was created to solve the common problem of having scattered text files or reference materials on disk that are hard to search or categorize, and it surfaces a simple CLI interface with intuitive commands for adding, viewing, editing, and deleting knowledge items. Each entry in kb can be tagged, categorized, given metadata like author or status, and inspected with full-text search or regex-based grepping, helping users quickly find content even across large knowledge collections. While focused on text content, it also supports non-text artifacts such as PDFs and images, which can still be indexed and referenced, and it integrates with editors specified by the user’s $EDITOR environment variable to make detailed editing seamless.
Features
- Command-line knowledge base manager for quick note access
- Tagging and metadata support for organized artifacts
- Full-text search and regex grepping through entries
- Support for text and non-text files like PDF and images
- Import/export and backup of entire knowledge databases
- Template system for customizable artifact display and workflow