Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

153.4. nb-7.25.5

Notes and bookmarks in a git repository, from one command

7.25.5-1 · AGPL-3.0-or-later · 0.1 SBU · 775.8 KiB, 4 files · 41_system, 849 of 1047 · ports/core/pim/nb

Homepage: https://xwmx.github.io/nb/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/pim.txt:

One bash script over a git repo of markdown: the notes outlive nb itself and sync with anything that syncs a directory.

Depends on: bash, git.

Required by: no port names it.

Sources: nb-7.25.5.tar.gz (754.8 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install nb'

build.sh:

install -Dm755 nb $PKG/usr/bin/nb
install -Dm644 etc/nb-completion.bash $PKG/usr/share/bash-completion/completions/nb

install -d "$PKG/usr/share/applications"
cat > "$PKG/usr/share/applications/nb.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=Notes
GenericName=Note Taking
Comment=Notes, bookmarks and a searchable archive
Exec=nb
Icon=x-office-document
Terminal=true
Categories=Office;Utility;
Keywords=note;bookmark;archive;wiki;nb;
EOF
chmod 644 "$PKG/usr/share/applications/nb.desktop"

Programs: nb.

Directories: /usr/share/licenses/nb.