Skip to content

Latest commit

 

History

History

navig-notes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

navig-notes

Your web sticky notes on this computer: the NAVIG Dock syncs every note you keep on a page, a site or everywhere, so you can list, search, add and export them from the command line, and NAVIG's Recall can find them (never sent to an AI unless you allow it).

Works on its own — its own CLI, no navig required · v0.1.0 · not on PyPI yet (install from source below)

On its own (no navig needed)

pip install "git+https://github.com/navig-run/plugins#subdirectory=navig-notes"
navig-notes --help   # no navig needed

With navig

pip install "git+https://github.com/navig-run/plugins#subdirectory=navig-notes"
navig notes --help
Commands
Command What it does
navig notes add Add a note — it appears in the browser on the Dock's next sync.
navig notes export Export notes to a file the Dock's Library can import (JSON) or anyone can read (Markdown).
navig notes list Your notes, most recently edited first.
navig notes rm Delete a note everywhere (the Dock moves it to its Trash on the next sync).
navig notes search Search every note's title, text, tags, page title and website.
navig notes show One note in full.
navig notes status How many notes, where they live, and when the Dock last synced.

Your web sticky notes on this computer. The NAVIG Dock keeps notes on web pages — on one page, a whole site, or everywhere — in the browser; with NAVIG running it syncs them here, to <navig data dir>/notes.db. Nothing is uploaded.

navig notes list                      # most recently edited first (--site github.com, --tag work)
navig notes search retry path          # every word must match; "quote a phrase"
navig notes show 3f2a                  # one note in full (an id prefix is enough)
navig notes add "call the bank"        # an Everywhere note — it appears in the browser on the next sync
navig notes add "check CI" --url https://github.com/org/repo/issues/12   # a note on that page
navig notes rm 3f2a                    # deleted everywhere (the Dock moves it to its Trash)
navig notes export notes.json          # re-importable in the Dock's Notes Library (or .md)
navig notes status                     # counts, the store, the last Dock sync

How the sync works

Every note carries a revision that each writer bumps. The Dock pushes what changed since its last push (edits, and deletions as tombstones) to POST /api/deck/notes/sync and gets back what changed here since its cursor. The higher revision wins; an older copy never overwrites a newer one, and the side that sent the older copy is handed the newer one. The Dock syncs a few seconds after any change, every 5 minutes, and when Chrome starts; when NAVIG is not running the notes simply stay in the browser.

The routes answer only this computer (is_local_request) and sit behind the notes module.

Recall and the agent

The Dock's Notes Library → Settings → NAVIG on this computer:

Setting What happens
Keep a copy in NAVIG (default) Synced here; navig notes and navig recall find them. Never sent to an AI.
Copy + the agent may use them The same, and agent context may include them — that text goes to the AI provider you chose.
Off Nothing leaves the browser.

navig recall ingest --source notes reads synced notes: your words as yours, lines you quoted from a page (> …) as page captures, and checkboxes (- [ ] / - [x]) as your open / done tasks. A note deleted in the browser is forgotten at the next ingest.