A Mac-only clipboard history is a small job: poll the pasteboard, store items in SQLite, show a hotkey panel and paste into the previous app. Maccy and Clipy already prove it. The weekend goes on what Paste is paid for: searching text inside screenshots with Vision, pinboards and rules that skip passwords, and above all the iPhone and iPad apps with sync through iCloud, which a personal build can't match without a paid Apple developer account and a lot of testing. The prompt builds the Mac half only.
Before you buildCheck Maccy before building: it is free, open source and covers the Mac history panel. macOS Tahoe also has a built-in history, which Paste's own write-up says keeps items for 30 minutes, 8 hours or 7 days, with no pinning.
Build me a clipboard history manager for macOS to replace Paste. Requirements: - Swift 6 + SwiftUI, macOS 14 or later, built with Xcode and `xcodebuild`. A menu bar app (LSUIElement, no Dock icon). A global hotkey (default Shift-Cmd-V, set up with the `KeyboardShortcuts` package) opens a floating NSPanel along the bottom of the screen with a horizontal strip of cards. - Capture: poll NSPasteboard.general.changeCount every 0.4 seconds. Store text, URLs, images (PNG), file paths and RTF with the source app's bundle id and name, a timestamp and a content hash. A repeated copy moves the existing card to the front instead of adding a new one. - Storage: SQLite through GRDB in ~/Library/Application Support/ClipHistory/, image files next to it. History is capped by count (default 5,000) and age (default 90 days); pinned cards never expire. - Pinboards: named boards with a colour. Drag a card onto a board or press 1 to 9 to pin it. - Search: SQLite FTS5 over text, URL and app name; filters by app, type and date. Run Vision `VNRecognizeTextRequest` on images in the background and index the recognised text too. - Paste: Return restores the pasteboard and sends Cmd-V to the previous app with CGEvent; Shift-Return pastes as plain text. Escape closes the panel. - Privacy: ignore items marked org.nspasteboard.ConcealedType or TransientType, and a list of apps to ignore (default: Keychain Access, 1Password, Bitwarden). A menu item clears all history. - Local only. No accounts, no telemetry, no iCloud. - Out of scope: iPhone and iPad apps, sync, a keyboard extension, teams, App Store packaging. - README: why pasting needs the Accessibility permission, where history is stored, how to build and run, and a menu item that exports history to JSON.
Opens your agent with the prompt filled in, you press enter. Or copy it and paste it into an empty folder.
The first prompt builds the core. Run these one at a time in the same folder to grow it into your own Paste.
Extend the clipboard manager in this folder. Requirements: - A stack mode toggled with Shift-Cmd-C: every copy is queued instead of replacing the previous item. - Cmd-V pastes the oldest queued item and removes it; Esc leaves stack mode and keeps the items in history. - A small floating counter shows how many items are queued. - Update the README.
Add link cleaning to the clipboard manager in this folder. Requirements: - When a copied item is a single URL, remove utm_*, fbclid, gclid and mc_eid query parameters and store both the cleaned and the original URL. - Pasting uses the cleaned one; Option-Return pastes the original. - A rules file in Application Support lets me add parameter names and domains to skip. - Add unit tests for ten example URLs. - Update the README.
Add sync to the clipboard manager in this folder. Requirements: - Mirror items and pinboards through CloudKit's private database with `CKSyncEngine`; images upload as CKAssets. - Conflicts resolve by newest timestamp; deletions sync as tombstones for 30 days. - A setting turns sync off and removes the cloud copy. - Never upload items from the ignore list or marked concealed. - Update the README with the signing and iCloud entitlement steps and the Apple Developer account this needs.
People who copy all day want the history to be there on every device without thinking about it. Paste is a few dollars a month, which is less than the hour it takes to notice a self-built panel stopped pasting after a macOS update.
Estimate · Runs on your Mac with no running cost. Syncing to an iPhone later would need a paid Apple Developer account. The build is token usage on your agent plan.
| Plan | Monthly | Annual, per month | What you get |
|---|---|---|---|
| Personal | $3.99 | $2.50 | Unlimited clipboard history, pinboards, search and sync on Mac, iPhone and iPad with one Apple Account. |
| Family | — | $5 | Up to six people in one Family Sharing group, billed annually. |
| Lifetime | custom | — | One payment with future updates; no renewals. |
| Team | custom | — | Bought from the website, priced per seat, with volume discounts and one invoice. |
No free plan: a 7-day trial unlocks every feature on all your devices; the website download needs no card and never converts to a charge.
Kinda. The core is a weekend build with the prompt on this page, but real gaps remain: The iPhone and iPad apps and sync across devices, Polished search, filters and previews, including text inside screenshots at Paste's quality.
About $3.99 a month on the Personal, monthly plan, $47.88 a year (checked 2026-10-20).
The iPhone and iPad apps and sync across devices; Polished search, filters and previews, including text inside screenshots at Paste's quality; Family Sharing and team seats; Automatic updates and a support address that answers. If any of those matter to you, keep paying.
Yes: Maccy (open source), Clipy (open source), CopyQ (open source).