Skip to content
Robeir Toma
< All work
Working app, open-source release planned

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.

One minute, sped up, with sample data: searching by meaning, in Spanish, by what a photo shows, by an exact code, then pasting several clips together.

How it fits together

  1. Pasteboard monitor

    250 ms poll, all types

  2. Clip store

    SQLite, hash de-dup

  3. Indexer

    EmbeddingGemma 2: text, OCR, images to 768-d vectors

  4. Hybrid search

    exact + semantic, two passes

From a copy to a searchable clip, all on-device.

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.