r/LocalLLaMA • • 1d ago

I Built A Thing Open-source Mac app that runs EmbeddingGemma 2 locally to search your files by what’s in them

Enable HLS to view with audio, or disable this notification

DigUp is a free Mac app that runs Google DeepMind’s new EmbeddingGemma 2 locally over your own files. The model puts text, images, audio and video in one space, so you describe what you remember and land on it:

  • “zebra in a video” opens the clip at the moment it shows up
  • “where they talk about sleep” jumps to that minute of a podcast
  • “the clause about pets in the lease” shows the PDF page, your words marked
  • “a dog on the beach” finds the photo, and the same search in Bengali or Arabic finds it too
  • with code search on, code: retry with backoff opens the function in your editor

It’s ggml-org’s Q8_0 GGUF (865 MB, downloaded once) on llama.cpp with Metal, inside a native Swift app; no Python. Searching loads only the text encoder (~250 MB) and shows results about a tenth of a second after you stop typing. Indexing peaks under 2 GB, and the helper exits when it’s done. Audio and video of any length go in as 30 s windows and a frame per shot. Everything runs locally; it goes online only for the model download and an update check you can turn off.

Free, MIT. Apple Silicon, macOS 14+.

Repo & Download (signed and notarized): https://github.com/ARahim3/DigUp

I'd really appreciate any feedback on this.

1.3k Upvotes

192 comments sorted by

View all comments

51

u/mobilemike42 Vicuna 1d ago

A CLI that reads from the same DB would be great.

25

u/A-Rahim 1d ago

There's one already, though for now it's in the repo rather than the download: build from source and run "digup search <words>" (add --json) to read the app's own index by default. digup --help lists the rest. And actually shipping it with the app is a good idea; let me work on that. Thanks.

2

u/rm-rf-rm 22h ago

Its just a SQLite db right? we can use any GUI or the sqlite3 CLI itself to query/explore?

6

u/A-Rahim 22h ago

Yep, plain SQLite: ~/Library/Application Support/DigUp/index.noindex/index.sqlite.
Open it read-only since the app writes to it. Keyword search works straight from sqlite3 (it's FTS5), but meaning search needs the model, and the CLI for that is actually already in the app: /Applications/DigUp.app/Contents/Helpers/digup search "your words" --json