Omarchy capture
The Notes Capture plugin adds a bar widget and panel to Omarchy Quattro. It sends text directly to the local Notes capture processor without using the web capture app or GitHub issue queue.
The integration has three parts:
Omarchy plugin -> notes-capture-local -> notes capture -> OpenCode serverThe plugin repository contains the QML interface. The host owns the wrapper, processor configuration, OpenCode service, and credentials.
Requirements
Section titled “Requirements”- Omarchy Quattro
- Notes installed
- A
notes-capture-localexecutable onPATH - A configured, password-protected OpenCode server
Installing the plugin does not create the wrapper, service, Notes
configuration, or OPENCODE_SERVER_PASSWORD environment variable.
The wrapper must support these commands:
notes-capture-local --status --jsonnotes-capture-local --stdin --json [--repository owner/repository]The status command reports availability through its exit code: zero means the
processor is ready. The submission command reads capture text from standard
input. A successful submission exits with zero and prints JSON containing
"status": "success"; an optional summary string is shown in the panel.
A typical wrapper forwards both forms to notes capture --config ... and
supplies the configuration and password required by the
capture processor.
Install
Section titled “Install”Review the plugin repository, then add and enable it:
omarchy plugin add \ https://github.com/timmo001/omarchy-notes-capture.gitFor an unattended installation from a repository you already trust:
omarchy plugin add \ https://github.com/timmo001/omarchy-notes-capture.git \ --enable --yesSelect the widget to open the panel. Enter up to 12,000 characters, then select Send or press Ctrl+Enter. Escape closes the panel. Tab moves from the editor to Send. Up and Down move through the repository filter and available targets.
Submissions run one at a time. Further submissions wait in memory, and closing
the panel does not cancel them. The queue is lost if omarchy-shell restarts.
Clear removes queued submissions and clears the displayed result of an active
submission, but it does not stop the active wrapper process.
The plugin exposes the timmo.notes-capture shell IPC target with open,
close, show, hide, and toggle methods:
omarchy-shell timmo.notes-capture toggleRepository targets
Section titled “Repository targets”The picker always includes Automatic repository resolution. Add explicit targets with this host-owned file:
${XDG_CACHE_HOME:-$HOME/.cache}/dot/notes-capture-repositories.json[ { "label": "Display name", "repository": "owner/repository" }]The plugin reloads this file when it changes. Invalid JSON or a value other than an array leaves only Automatic resolution. Keep each entry to the shown shape because entries are displayed and passed to the wrapper without further validation.
Draft recovery
Section titled “Draft recovery”The editor saves its current draft to:
${XDG_CACHE_HOME:-$HOME/.cache}/dot/notes-capture-draft.txtThis draft is restored when the plugin loads. A failed submission is copied to a separate recovery file:
${XDG_CACHE_HOME:-$HOME/.cache}/dot/notes-capture-failed-draft.txtThe failed draft is not restored into the editor automatically. Open the file directly to recover it. A later failure replaces it, and a successful capture does not remove it. Clear empties both files. Drafts are plain text and are not encrypted.
Troubleshooting
Section titled “Troubleshooting”Confirm that the wrapper is available and that its status check succeeds:
command -v notes-capture-localnotes-capture-local --status --jsonIf your wrapper uses notes-capture-opencode.service, inspect its status and
logs:
systemctl --user status notes-capture-opencode.servicejournalctl --user -u notes-capture-opencode.serviceCheck the failed-draft file after a rejected or malformed submission. If explicit repositories disappear, validate the repository JSON file against the array shape above.
Update and remove
Section titled “Update and remove”omarchy plugin update timmo.notes-captureomarchy plugin remove timmo.notes-captureRemoving the plugin does not remove host-owned services, wrapper commands, configuration, credentials, repository targets, or draft files. Plugin changes are published from the Notes repository independently of stable Notes CLI releases.
Security
Section titled “Security”The plugin runs unsandboxed inside omarchy-shell. Its QML does not connect to
the network directly, but the wrapper may send captures to the configured
OpenCode server. Review both the plugin and wrapper before installation.