nb is a powerful command-line and local web application for managing notes, bookmarks, archives, and knowledge bases. It combines the simplicity of plain text storage with advanced organizational features, making it ideal for anyone who wants to maintain a personal knowledge system without relying on cloud services.
Key capabilities include password-protected encrypted notes, Git-backed versioning and syncing, wiki-style linking between documents, and full-text search with regex support. The application supports multiple text formats including Markdown, Org, LaTeX, and AsciiDoc, with Pandoc-backed conversion for importing and exporting to various document formats.
The bookmarking system is particularly robust, offering locally-served browsing in both terminal and GUI web browsers, automatic page content caching, and Internet Archive Wayback Machine integration for accessing broken links. Notes and bookmarks are saved as human-readable Markdown documents, making them easy to view and edit with any text editor.
Organization features include customizable notebooks, folder structures, tagging, pinning, and task management with todo lists. The entire application is contained in a single portable shell script that works across Linux, Unix, macOS, and Windows (via WSL, MSYS, or Cygwin). Optional dependencies enhance functionality, but the core application works perfectly without them. Whether managing a few notes or thousands of items across dozens of notebooks, nb provides a flexible, vendor-independent solution for knowledge management.
$ brew install xwmx/taps/nb$ brew install nb