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.
| 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. |
[label](path) and images  render in preview. Attachments are stored under vault/Attachments/ and linked with vault-relative paths; images and PDFs can be uploaded from the toolbar. Paste an image (Ctrl+V) into an open note to upload it and insert a vault-relative Markdown image link; “Find orphan attachments” still detects unused files./ in the editor for slash block commands (headings, tasks, lists, quote, code, table, date, wiki link, divider).Ctrl+B / Ctrl+I insert formatting. Tab indents selected lines.Ctrl+Z / Ctrl+Y (or Ctrl+Shift+Z) undo/redo editor changes, including toolbar inserts and restores. Other fields keep their normal browser undo.[[Project Plan]] to link a note. Clicking a link opens the matching note anywhere in the vault; if none exists, a new note is created once.+ / - to zoom, and 0 to reset zoom.Ctrl+D opens today’s daily note under vault/Daily Notes/, creating it if needed.Ctrl+H opens Note history: label a snapshot, compare two snapshots in an aligned side-by-side diff, restore one into the editor, or create a separate restored note without overwriting your current draft. Snapshot labels live beside the snapshots in .portable-notes/.Ctrl+Shift+P → “Delete current note”) moves it to vault/.portable-notes/trash/. The Trash view searches by name, sorts by date/name/size, restores or permanently deletes selected notes to Inbox in one action, or empties the trash. Per-item Delete and bulk Delete selected ask for confirmation before permanently removing only those items. A local retention policy can auto-empty old items. History, trash, and backups are excluded from search, graph, tree, and exports.Ctrl+F) locates, replaces once, or replaces all in the open note.Ctrl+\ toggles focus mode; the rail and side panels disappear. Press Ctrl+\ again to return.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
due: or 📅 YYYY-MM-DD — due date; baseline: — planned date for slippage tracking.priority: high/medium/low or !high — priority; project: or #project/Name — project.estimate: or est: — effort in hours; milestone: or #milestone/Name — milestone.taskid: or #task/ID plus depends: or #depends/ID — dependency graph.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.
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.
| 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.
data/server.json with /?debug=1 appended (or use “Open diagnostics” in the palette) for a local view of uptime, vault path, request counts/timings, and reindex status. It refreshes every two seconds and makes no external calls.data/server.log when the hidden Windows launcher is used; a terminal launch prints them directly. Note content and query strings are never logged.python scripts/benchmark.py regenerates docs/BENCHMARKS.md with 1k / 10k / 50k note timings using a throwaway vault./companion on this machine for the read-only note reader. It can be installed as a PWA and caches only the app shell; note data is always fetched live from this machine, and it makes no external calls.python app.py --lan. The LAN address is printed at startup and written as lan_url in data/server.json and /api/health on this machine. Stop it with python app.py --stop or start.bat stop.403. This machine keeps full access. LAN mode is off by default.Ctrl+K) and choose Toggle semantic search to opt in. It starts off, and nothing is contacted until you turn it on.nomic-embed-text by default.http://127.0.0.1:11434 by default), refuses redirects, and stores embeddings in data/semantic.json locally. No note text is sent to a remote service. Changing the model requires rebuilding the index.Ctrl+K) and choose Record voice note…. Allow microphone access, press Start, then Stop when finished.MediaRecorder — no SpeechRecognition or remote speech service. The audio is uploaded to vault/Attachments/ through the same local route as other attachments (25 MB cap) and played back in the dialog before saving.Inbox/ with a playable audio link and a ## Transcript section. Type a transcript in the dialog, or fill it in later by editing the Markdown.PN_VOICE_MODEL to an existing local .pt/.bin model file before using it; optionally set PN_VOICE_BIN to a local whisper or whisper-cli executable. The browser sends no command, URL, or model, PeaNote downloads nothing, and the note is snapshotted before the transcript is replaced. If the file changed on disk, the usual local conflict dialog is shown.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.