Portable Notes
v3.1.0Complete User Guide
Architecture

Architecture and storage: how Portable Notes keeps state coherent

Vanilla JS and Python standard library; Markdown source of truth; disposable index; air-gapped by design.

Data ownership

The vault folder is canonical. data/index.db is a cache: delete it and search rebuilds. Backups are folder copies or Git repositories; no hidden service layer.

File format

vault/
  project-alpha.md
  research/
    paper-notes.md
  Templates/
    meeting.md
data/index.db

Technical specs

LayerSpecification
RuntimePython 3.9+ standard library only
Instancev3.1.0 Constellation; 24/24 unit tests; 69/69 e2e checks
NetworkHTTP loopback only on 127.0.0.1:8765
LicenseMIT (verify in repo LICENSE)
DependenciesZero third-party packages for normal operation
Teststests/e2e_ui_actions.py restores real config; safe to run

Why no database of record

Anything that matters lives in .md. SQLite is merely a fast lens for search and backlinks; crash recovery is never data recovery.