Portable-Notes

PeaNote 3.11.0 User Guide

Start

Double-click start.bat on Windows or run ./start.sh on Linux/macOS. These are the only two launch scripts. Each starts the local server in the background (pythonw.exe on Windows, nohup elsewhere) and opens the same UI at its actual address. Port 8765 is preferred; if another app is using it, PeaNote selects a free localhost port and writes the URL to data/server.json. Use start.bat status / ./start.sh status to print the URL, stop to end the server, or console to run visibly with logs. Launch mode is remembered with browser / window. If no Edge/Chrome-style browser is installed, the normal browser opens instead. Do not open static/index.html directly — it needs the local Python server.

Create a note with Ctrl+N, or capture a thought from anywhere with Ctrl+Shift+N and press Enter. Notes are saved automatically after you stop typing; Ctrl+S saves immediately. The Folder and Tags fields in the properties row organize a note; tags are comma-separated. Save a search with ⊕ next to the note-list title, then apply or remove it with ⊙ (or Ctrl+Shift+P → “Recall saved search”). Saved searches stay in this browser’s localStorage. See CAPTURE.md for URL handlers, clipboard capture, image paste, imports, and exports.

If the vault lives in a folder synced by OneDrive, Dropbox, Syncthing, or a similar tool, open Ctrl+Shift+P → Sync status / conflicts to see externally detected changes. The previous disk text is saved in normal history before the app reindexes. If a note changes on disk while you are editing, saving asks whether to keep your version or load the newer disk version — your draft stays in undo history. The app never contacts the sync service.

The workspace

Area What it does
Left rail New note, All notes, Daily note, Favorites, the Board/Graph/Tags/Trash views, quick capture, templates, command palette, theme, focus mode, ZIP export. Click » (or press Ctrl+Shift+M) to expand the rail and show text labels; the choice is remembered. On narrow screens, ☰ toggles the note list.
Sidebar Quick capture, search, folder tree, and the single note list. Selecting a folder filters the list; “All notes” clears the filter. Use ↑ / ↓, Home, and End to move through folder rows.
Editor Title, properties, toolbar, Markdown source, live preview, status bar, and tab strip. Ctrl+Shift+V cycles Edit → Split → Preview.
Knowledge panel Contents, outgoing links, backlinks, related notes, and shortcut hints.
Command palette Ctrl+Shift+P — every command, including clipboard capture, history, find/replace, templates, HTML/ENEX/CSV import, local drop-folder import, HTML/PDF/Markdown export, background “Rebuild search index”, “Sync status / conflicts”, “Open diagnostics”, and all task reports.

Writing Markdown

Daily notes, history, and recovery

Tasks and projects

Write tasks as - [ ] Task. Optional metadata lives on the same line:

- [ ] Ship release due: 2026-11-10 baseline: 2026-11-08 estimate: 2h
      priority: high project: PeaNote milestone: Beta taskid: Ship depends: Docs

The Board view groups open tasks into Overdue / Today / Upcoming / No date / Done and can be filtered by project. All deeper reports live in the command palette: dashboard, calendar, focus, review, stats, project health/workspace/timeline, milestones, milestone board, dependencies, critical path, risk radar, workload, capacity, burndown, forecast, schedule plan, slippage, baseline health, metadata quality, and execution readiness. They are read-only projections of your Markdown — no separate task database is created.

External editing and backup

Markdown files under vault/ are authoritative. Edit them in Obsidian, VS Code, or Notepad++; PeaNote notices file changes on the next refresh. Use “Rebuild index” from the command palette if the index ever looks stale.

Export a versioned ZIP from the rail download button, or copy the whole vault/ directory. The palette also offers “Back up vault now” for a verified ZIP under .portable-notes/backups/, plus “Export current note as HTML”, “Export all notes as Markdown”, and “Print / save as PDF”. “Backup settings” can enable scheduled local backups, set the interval, and choose how many archives to keep. To point the app at another folder:

python app.py --vault "D:\Notes\My Vault"

The chosen path is stored locally in data/config.json. The data/ folder can be deleted; the app recreates it from your Markdown.

For maintenance without opening the browser:

python app.py --backup
python app.py --migrate plan
python app.py --migrate apply
python app.py --rollback TOKEN

One-shot commands do not rewrite a --vault choice into your config. See RECOVERY.md.

Keyboard shortcuts

Shortcut Action
Ctrl+N New note
Ctrl+Shift+N Quick capture
Ctrl+S Save
Ctrl+K Search
Ctrl+D Daily note
Ctrl+F Find & replace
Ctrl+Z / Ctrl+Y Undo / redo in the editor (Ctrl+Shift+Z also redos)
Ctrl+H Note history
Ctrl+Shift+P Command palette
Ctrl+Shift+1–5 Notes / Board / Graph / Tags / Trash
Ctrl+Shift+M Expand / collapse the activity rail labels
Ctrl+Shift+V New note from clipboard outside the editor; cycle editor mode inside it
Ctrl+B / Ctrl+I Bold / italic in the editor
Ctrl+\ Focus mode
? Searchable shortcut and command reference

Press ? outside a text field to open the shortcut overlay. It lists every keyboard binding and every palette command, and the search box filters by name, group, or key. In the note list, ↑ / ↓, Home, and End move between cards and scroll the list; opening a note also scrolls its card into view. “Got it” on the first-run banner records only that you dismissed it; the banner will not return. This state is kept in data/onboarding.json on this machine.

Browser-reserved shortcuts can be intercepted by the browser in some setups; the rail buttons and command palette always work.

Speed and diagnostics

Phone companion (optional)

Local semantic search (optional)

Voice notes (optional)

Privacy

By default the server binds only to 127.0.0.1, stores no account, sends no telemetry, and makes no external calls. Opt-in --lan mode exposes the read-only companion on the local network and still rejects every mutation from another device. Opt-in semantic search contacts only a validated loopback Ollama URL and refuses redirects. Voice recording uses local browser APIs and never contacts a speech service; optional transcription runs an allowlisted local CLI with a pre-registered local model and no shell, command injection, or model download. Note content stays in plain Markdown files on this machine. See SECURITY.md for the security model and reporting process.