ProjectsCase study
ClipStash — Clipboard history for macOS
A clipboard history app for macOS. It keeps everything you copy (text, links, code, colors, images, screenshots and files) and pastes any of it back with ⌘⇧V. It is native Swift with no dependencies, and it stays local: no account, no network, no analytics.
- Swift
- AppKit
- SwiftUI
- SQLite
- macOS
Capabilities
- Works in every app: ⌘⇧V opens the history, type to search, arrow keys to move, ↵ pastes into the app you were using
- Search ignores case and accents across text, names and source apps; filter tabs for All, Favorites, Text, Links, Code, Images and Files
- Paste queue: ⇧↵ queues clips and ⌃⌘V pastes the next one from any app, for filling forms
- ⌘P pins a clip (pinned clips are kept forever) and ⌘R names it; ⌘Z restores a deleted clip until the panel closes
- Delete timers per clip (off, 5 min, 1 h, 24 h); 6-digit one-time codes delete themselves after 5 minutes
- Previews: hex codes as color swatches, image thumbnails that save to Downloads in one click, file icons
Privacy
- Items that password managers mark as concealed or transient are never saved, and any app can be excluded
- Everything stays in `~/Library/Application Support/ClipStash`
Stack
- `ClipCore`: SQLite storage and the classifier that sorts clips into types, covered by unit, regression and performance-budget tests
- The app itself in AppKit and SwiftUI; universal build for Apple silicon and Intel, macOS 13 or later, built with only the Xcode Command Line Tools