Commit Graph

17 Commits

Author SHA1 Message Date
alan a979a6b143 Add rich previews for copied files 2026-09-09 11:09:35 +01:00
alan 4522fdbce1 Bound clipboard payloads and image parsing
The capture daemon read the whole clipboard payload into memory and handed
it to Pillow, zbarimg and tesseract with no limit. Payloads now stream
through a capped reader (32 MiB images, 4 MiB text, 5 s deadline) and are
dropped when exceeded; image dimensions come from the container header
without decoding, and QR/OCR only run under 40 megapixels. The OCR backfill
script applies the same pixel guard. Limits are overridable via
CLIPBOARD_MAX_IMAGE_BYTES, CLIPBOARD_MAX_TEXT_BYTES, CLIPBOARD_MAX_PARSE_PIXELS.
2026-09-08 15:20:10 +01:00
alan b1ebdb83e6 List is strictly newest-first; search only filters
Drop the recency/pin/usage score bonuses that reordered the picker: an
entry pasted before outranked a fresh copy for hours. Results are now
sorted by timestamp only; query tokens and fuzzy terms filter rows.
2026-09-08 10:59:34 +01:00
alan b1d98971c9 Scrollable OCR panel and copy-text shortcut
The OCR panel overflowed its container on long recognized text; it now
clips, caps at 40% of the preview height, and scrolls. Ctrl+Shift+C copies
an entry's text content (OCR text or QR payload for images) as plain text,
and the QR/OCR panels get Copy chips.
2026-09-07 16:50:11 +01:00
alan 4662c8002d Prepare marketplace submission: preview image, dependency docs, drop personal upgrade script 2026-09-07 12:23:37 +01:00
alan 2c999201db Add legacy install and shortcut migration 2026-09-06 00:51:40 +01:00
alan 1d7a9d6cde Keep clipboard shortcuts routed to built-in source 2026-09-06 00:47:44 +01:00
alan 2e0fb0cdd0 Bind clipboard shortcut to plugin-owned IPC 2026-09-06 00:36:46 +01:00
alan 4e0cd0ab36 Fix invisible picker and show dependency setup in UI 2026-09-06 00:03:09 +01:00
alan ac3b5ef4dc Never open Vim for text clipboard entries 2026-09-05 23:55:27 +01:00
alan 2e6a2e8da1 Rename plugin id to alanfortlink.clipboard (manifest, IPC, bindings, scripts, docs) 2026-09-05 23:33:55 +01:00
alan 8027fcd936 OCR search: tesseract on captured images, searchable + preview panel, settings (ocr/ocrLang), backfill script; fix tesseract flag 2026-09-05 23:17:50 +01:00
alan 93b4419785 README: binding example must target bindings.lua (live Quattro config) 2026-09-05 23:16:42 +01:00
alan 6da0c42847 Open links from QR payloads: Ctrl+O opens the decoded URL (browser) instead of the image; clickable Open-link chips in link and QR previews 2026-09-05 22:56:26 +01:00
alan 66ba5bd3db Floating card window, retention settings (maxAgeDays/historyLimit/maxRows), pause/resume (Ctrl+= + IPC), LICENSE, README with screenshots, screenshot tooling 2026-09-05 20:28:03 +01:00
alan 1aac582e90 QR decode support (zbarimg) with searchable payload + preview panel; restructure repo root as installable omarchy plugin; plain-text safety for QR payloads 2026-09-05 16:22:10 +01:00
alan 44808ffd2c Clipboard history picker: Omarchy shell plugin (tank.clipboard) with fuzzy search, rich previews, capture daemon 2026-09-05 15:25:15 +01:00