CLI and local web plain text note-taking, bookmarking, and archiving
nb is a comprehensive command line and local web note-taking, bookmarking, archiving, and knowledge base application that stores everything in plain text formats. It supports Markdown, Org, LaTeX, and AsciiDoc files, offering features like encryption, filtering, pinning, tagging, search, and Git-backed versioning and syncing. The tool provides wiki-style linking, terminal and GUI web browsing, inline images, todos with tasks, and organization through notebooks and folders.
nb doubles as a powerful bookmarking system with locally-served, text-centric browsing in both terminal and GUI web browsers. It performs local full-text search of cached page content, offers convenient filtering and listing, and includes Internet Archive Wayback Machine snapshot lookup for broken links. Page information is downloaded, cleaned, and saved as human-readable Markdown documents.
Designed for portability and vendor independence, nb is contained within a single well-tested shell script that can be installed almost anywhere. It works in any standard Linux/Unix environment, including macOS and Windows via WSL, MSYS, and Cygwin. The tool is flexible enough to work with just a few notes or thousands of items across multiple notebooks, integrating seamlessly with various text editors and workflows.
# via Homebrew
brew install xwmx/taps/nb
# via npm
npm install -g nb.sh
# via Download
sudo curl -L https://raw.github.com/xwmx/nb/master/nb -o /usr/local/bin/nb && sudo chmod +x /usr/local/bin/nb && sudo nb completions install --download


