ClipboardThing
macOS clipboard manager that searches by meaning, on-device, with Google's EmbeddingGemma 2
A native Mac app that keeps what you copy (text, links, images, screenshots, files, colors) and lets you find it again by exact words or by describing what you remember, including what a photo shows. Search runs on the Mac using Google DeepMind's EmbeddingGemma 2. You can also pick several clips and paste them together as one. Nothing that is copied leaves the machine.
How it fits together
Pasteboard monitor
250 ms poll, all types
Clip store
SQLite, hash de-dup
Indexer
EmbeddingGemma 2: text, OCR, images to 768-d vectors
Hybrid search
exact + semantic, two passes
The hard parts
Running a model without owning the user's memory
The embedding work happens in two helper processes, one for text and OCR and one for images, that start on demand and quit when idle. The helper runs in a sandbox that denies internet access; the only network calls the app makes are the two pinned model downloads.
Knowing whether search is actually good
Semantic search is easy to demo and hard to trust. The package includes evaluation targets with fixed query sets, so a change to ranking is judged against numbers instead of a feeling.
What must never be saved
Content that password managers mark as concealed is skipped at capture time and never stored. Deleting all data removes the clips, the model and the helper files together.
What exists today
- A menu-bar app written in Swift, for macOS 14 and Apple Silicon.
- Capture of every clipboard representation as raw data, with hash-based de-duplication in SQLite.
- Text, OCR and image embeddings produced locally with EmbeddingGemma 2, by helper processes that exit when idle.
- Paste Together and Combine: select several clips, then paste them in one go or save them as a single clip.
- Hybrid search that combines exact matching with meaning-based matching.
- Separate evaluation and benchmark targets for search quality and photo search.