A fast, secure file search and security scanning application for macOS, Windows, and Linux.
isearch 是一个基于 Rust 和 Tauri 2 的跨平台桌面应用,提供高性能的文件搜索和安全扫描功能。它利用 FST 和 LMDB 构建全文索引,集成 ClamAV 杀毒引擎,支持实时监控文件系统变化,确保用户能够快速找到文件并保障系统安全。
- 快速文件搜索 - 基于 FST 和 LMDB 的高性能全文索引,支持模糊匹配和前缀搜索
- 安全扫描 - 集成 ClamAV 杀毒引擎,支持文件/目录安全扫描
- 实时监控 - 文件系统监控,自动增量更新索引
- 跨平台 - 支持 macOS、Windows、Linux
- macOS 10.15+ / Windows 10+ / Linux (Ubuntu 20.04+)
- Rust 1.77+ (for development)
- Node.js 18+ (for development)
Download the latest release from GitHub Releases.
# Clone the repository
git clone https://github.com/your-repo/isearch.git
cd isearch
# Install dependencies
brew install clamav # macOS
# sudo apt install clamav # Linux
# Build
./build.sh首次扫描时会自动下载病毒库(约 85MB),或手动下载:
# macOS
brew install clamav
mkdir -p ~/.isearch/clamav_db
cd ~/.isearch/clamav_db
curl -fsSL -A ClamAV/1.0 -o main.cvd https://database.clamav.net/main.cvd-
启动应用
# Run in development mode cd src-tauri && cargo run # Or run the built app open isearch.app # macOS
-
建立索引
- 首次使用需要选择要索引的目录
- 点击"开始索引"构建文件索引
-
搜索文件
- 输入关键词进行搜索
- 支持模糊匹配(自动开启)
- 点击结果查看文件详情
-
安全扫描
- 在搜索结果中点击文件,选择"安全扫描"
- 或在"安全扫描"页面扫描整个目录
| Component | Technology |
|---|---|
| Backend | Rust + Tauri 2 |
| Frontend | SvelteKit + TypeScript |
| Database | LMDB |
| Search Index | FST (Finite State Transducer) |
| Antivirus | ClamAV |
isearch/
├── src/ # Frontend (SvelteKit)
│ └── routes/
│ └── +page.svelte # Main UI
├── src-tauri/ # Backend (Rust)
│ └── src/
│ ├── main.rs # Entry & Tauri commands
│ └── core/ # Core modules
│ ├── database.rs
│ ├── lmdb_store.rs
│ ├── fst_index.rs
│ ├── clamav_scanner.rs
│ └── watcher.rs
├── docs/ # Documentation
└── build.sh # Build script
MIT

