nb

Open source

nb is a command-line note-taking, bookmarking and knowledge base tool that stores plain text and syncs through Git.

Open-source alternative to

xwmx.github.io
nb homepage screenshot
GitHub stars
8.5k
Last 30 days
+46(+1%)
Last commit
2 days ago
Repository age
10 years
Version
7.25.6
Licence
AGPL-3.0
Self-hosted
Yes

About nb

nb is a command line and local web application for notes, bookmarks, archiving and knowledge base work. Data is kept as plain text, and it adds encryption, tagging, pinning, search, wiki-style links, todos with tasks, folders, notebooks, color themes and plugins. The whole program is a single portable shell script.

Notes can be written in Markdown, Org, LaTeX or AsciiDoc using the editor of your choice, including Vim, Emacs, VS Code and Sublime Text. It can import and export many document formats, and notes and bookmarks can be password-protected and encrypted.

As a bookmarking system it caches page content into Markdown, supports local full-text search with regular expressions and looks up Wayback Machine snapshots for broken links. Git records changes and syncs notebooks to remotes, and it works on Linux, Unix and macOS, with Windows via WSL, MSYS or Cygwin.

Key features

  • Notes in Markdown, Org, LaTeX and AsciiDoc
  • Encrypted, password-protected notes and bookmarks
  • Bookmarks saved as Markdown with local full-text search
  • Git-backed versioning and syncing
  • Wayback Machine lookup for broken links
  • Extensible through plugins and color themes

Good fit for

  • Terminal note-taking
  • Archiving bookmarks as Markdown
  • Keeping a personal wiki with linked notes
  • Syncing notebooks via Git
Built with
Shell tools
Tags
notes
bookmarks
cli
markdown
git
knowledge base

nb: questions and answers

What is nb used for?
nb is a command-line note-taking, bookmarking and knowledge base tool that stores plain text and syncs through Git. It is a good fit for terminal note-taking, archiving bookmarks as Markdown and keeping a personal wiki with linked notes.
Is nb open source?
Yes. nb is open source under the AGPL-3.0 licence. Its source code is on GitHub at xwmx/nb and is written mainly in Shell.
Is nb free?
Yes. nb is open source, so the software itself is free to use.
What is nb an alternative to?
nb is an open-source alternative to Obsidian. Other open-source alternatives to Obsidian include Inkstone, zk and Poznote.
Is nb actively maintained?
Yes. The most recent commit to nb was on 11 November 2026, and the latest release is 7.25.6, published on 31 October 2026. The project has 8.5k stars on GitHub, with 46 added in the last 30 days.

Open-source alternatives to nb

See all

SaaS alternatives to nb

See all