DigUp: Local Semantic File Search for Mac, Windows, and Linux

DigUp uses Google DeepMind's EmbeddingGemma 2 to search files by their content, including videos, podcasts, and PDFs, running entirely on-device.

cpaua3 min4

A new open-source tool called DigUp allows users to search their computers based on the actual content of files rather than just filenames. Built on Google DeepMind's EmbeddingGemma 2, the application runs locally on Mac, Windows, and Linux, providing a semantic search experience that outperforms standard tools like macOS Spotlight.

Multimodal search across different file types

DigUp uses embeddings to map text, images, audio, and video into a shared 768-dimensional space. This allows users to find files using descriptive phrases instead of exact keywords. For example, a query for "where they talk about sleep" can jump to a specific minute in a podcast, while "zebra in a video" opens a clip at the exact moment the animal appears.

The tool indexes various formats, including PDFs, screenshots, photos, and documents. On Mac, it can search for text inside screenshots. It supports over 100 languages, meaning a search in English can locate a note written in Arabic or Bengali. Exact-word matching is also integrated to find specific invoice numbers or error codes.

Local processing and privacy

The application is designed as a local-first tool. All indexing and searching happen on the user's hardware, meaning files are never uploaded to a cloud. DigUp only connects to the internet to download the 865 MB model once and to check for daily updates. It requires no account and contains no telemetry.

On Mac, the tool utilizes the GPU with Metal. On Windows and Linux, it uses the GPU via Vulkan if it is faster than the processor. The underlying model, EmbeddingGemma 2, has 740M parameters, making it small enough to run on a laptop.

Searching source code and projects

DigUp includes a dedicated code search mode that must be enabled in settings. It can find functions based on their behavior, such as searching for "code: retry a failed call with backoff" to find the relevant logic regardless of the function name. It also supports searching within notebooks and project documentation.

The tool integrates with several editors, including VS Code, Cursor, Zed, Sublime Text, and JetBrains IDEs, opening results directly at the correct line. To maintain privacy and performance, it skips git-ignored files, generated code, and sensitive files like certificates or password keys.

Installation and system requirements

For Mac users, the app requires macOS 14 or later and Apple Silicon. It can be installed via a DMG file or using Homebrew:

shellscript
brew install --cask arahim3/tap/digup

Windows users need 64-bit Windows 10 or 11. Linux users on Ubuntu, Debian, or Mint can install the .deb package:

shellscript
sudo apt install ./DigUp_x.y.z_amd64.deb

Once installed, users select the folders to index. The first pass takes a few minutes for a few hundred files on Mac, while larger libraries on Windows or Linux may take longer depending on whether a GPU is available.

Sources

ARahim3/DigUpgithub.com/ARahim3/DigUp
Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Related news

Comments

To leave a comment, log in
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.