biantsh/mesa
关于
Local semantic file search. Find documents, images, audio and videos by meaning.
设计与媒体实测星标增长
- 24小时
- +7
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Mesa
Find anything in your files.
Search your documents, pictures, videos, recordings and code by what they say, show or sound like.
Website · Download · How it works
Mesa is a desktop search app for Windows, macOS and Linux. Instead of matching file names, it searches what's inside your files:
Search by meaning. Describe what a file shows, says or sounds like: "receipt from the hardware store", "dog running on a beach", "rain on a window".
Drop to search. Drop a photo, song or document onto Mesa to find ones similar to it.
Combine clues. Mix words with file types and dates: "photo of my dog at the beach in 2024".
Open from anywhere. Press a shortcut (default: Alt+Space, or ⌥+Space on macOS) for a quick search window over whatever you're doing.
How it works
Mesa is built on Google's EmbeddingGemma 2. It understands text, pictures and sound, and turns them into vectors (points) in one shared space. A photo of a dog on a beach lands near the words "dog at the beach", a recording of waves lands near a photo of the sea, and so on.
When a file is indexed, it turns into one or more of those vectors:
- Documents and code are split into passages, and each passage gets its own vector.
- Pictures get a vector for what they show. Text in them, like screenshots and scans, is read with PaddleOCR's PP-OCRv6 models, so you can search for it too.
- Videos are sampled about every 10 seconds, and each frame gets a vector.
- Audio is cut into short clips spread across the recording.
When you search, Mesa parses your natural language prompt into a structured query. "photo of my dog at the beach in 2024" becomes:
{
"fileType": "Image",
"dateRange": ["Jan 2024", "Dec 2024"],
"query": "dog at the beach"
}
The query (along with any attached files) gets turned into a vector, while the other fields act as filters. The files whose indexed vectors are closest to the query are then listed as final results.
All of this happens locally on your computer, with EmbeddingGemma 2 running through llama.cpp.
Download and install
Get the latest version from the Releases page.
| System | Requirements | Download |
|---|---|---|
| Windows | Windows 10 or 11, x64 | .exe installer or portable .zip |
| macOS | macOS 13 or later, Apple silicon | .dmg disk image |
| Linux | Ubuntu 22.04 or later, or equivalent, x64 | .deb, .rpm or .AppImage |
When the app first starts, it downloads its models. Then, on the Index page, choose what to include: everything in your user folder, or specific folders and file types in the advanced view.
Indexing runs in the background at low priority by default, so it doesn't slow down your other processes.
Build from source
Mesa is a Tauri app, with a Rust backend and a React/TypeScript interface. Search runs on llama.cpp, which is built from source along with the app.
Prerequisites
- All systems: Node.js 24, Rust 1.96 or later, and CMake
- Windows: VS Build Tools (C++) and Vulkan SDK
- macOS: Xcode Command Line Tools
- Linux: the system packages below
Linux packages (Ubuntu)
sudo apt install \
build-essential \
git \
gstreamer1.0-plugins-good \
libayatana-appindicator3-dev \
libgstreamer-plugins-base1.0-dev \
libgstreamer1.0-dev \
libheif-dev \
librsvg2-dev \
libssl-dev \
libvulkan-dev \
libwebkit2gtk-4.1-dev \
pkg-config \
python3
Building the AppImage also needs meson, ninja-build, nasm and patchelf.
Build and run
git clone https://github.com/biantsh/mesa.git
cd mesa/app
npm ci
npm run build:runtime # builds llama.cpp, and ONNX Runtime on Linux
npm run tauri dev # run in development mode
To build installers for your system, run npm run tauri build.
License
Mesa is released under the MIT License. Third-party components and their licenses are listed in the app: click MIT License in the bottom corner of the main window.
探索相关项目
加载中…