Show Menu
Cheatography

NB Notebook Cheat Sheet (DRAFT) by

nb is a command line and local web note‑taking, bookmarking, archiving, and knowledge base application with:

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Notebooks

nb notebooks add example
add a notebook named example
nb use example
switch to the notebook named example

Todo

nb todo add "­Example todo one."
create a new todo titled "­Example todo one."
nb todo add "­Example todo two." --due "­210­0-0­1-0­1"
create a new todo titled "­Example todo two." with a due date of "­210­0-0­1-0­1"
nb todos
list todos in the current notebook
nb todos open
list open todos in the current notebook
nb todos closed
list closed todos in the current notebook
nb do 6
mark todo 6 as done / closed
nb undo 6
mark todo 6 as undone / open ❯ nb undo 6
 

Notes

nb add example.md
create a new note with the filename example.md
nb add example.md --title "­Tagged Exampl­e" --tags tag1,tag2
New note with tile and tags
nb edit example.md
Edit note
 

Bookmarks

create bookmark
nb https:­//e­xam­ple.com --comment "­Example commen­t."
add a comment
nb https:­//e­xam­ple.com --tags tag1,tag2
add tags
nb search --tag tag1
Search for tag
nb bookmark list
List bookmarks
BROWSE­R=links nb 12 peek
Open bookmark 12 in browser links
nb show 12 --render
Open note 12 in webbrowser
bookmark peek 2
View a bookmark in your terminal web browser
bookmark open 2
Open a bookmark in your system's primary web browser: