跳到正文

正在自动登录…

← 返回项目列表

noahdunnagan/fsearch

文件搜索内容检索

macOS 全盘文件搜索工具,支持模糊文件名匹配、拼写错误容忍、按内容索引搜索,提供命令行和 Rust 库接口。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/10 23:56:03 · 查看原文

值得看Rust应用与服务兼有 库与框架
累计 Stars
1,705
当前热度
1~7 天 · 热门
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/10 23:56:03

使用方式

可通过命令行使用(含守护进程)或作为 Rust crate 集成。

查看 README 依据
# FSearch Whole-disk file search for macOS. Finds any file by name in about a millisecond, forgives typos, and searches inside files with an index. Use it as a CLI (with a small daemon) or as a Rust crate. ``` cargo build --release && ./target/release/fsearch install # -> ~/.local/bin/fsearch fsearch fsearch main # find files by name fsearch 'ext:rs grep:apply_dir' # search inside files ``` ## Speed M4 Max, 7.7M files and folders on disk. | | | |---|---| | find a file by name, whole disk | p50 1.3 ms | | search inside files | p50 9 ms |
部署要求

需要 macOS 系统,并使用 Full Disk Access 权限才能索引全部内容;若作为登录项需单独授权。

查看 README 依据
`main.rs`). Also `'exact`, `^prefix`, `suffix$` and `!exclude`. Filters: `ext:` `type:` `kind:` `in:` `size:` `mtime:` `re:` `path:` `grep:` `regex:` `sym:` `limit:`. Content search is smart-case. ## Full Disk Access Started from a terminal with Full Disk Access, it indexes everything. As a login item (`fsearch install --login`), give `~/.local/bin/fsearch` its own grant in System Settings > Privacy & Security, again after each rebuild. Without access it skips the protected folders instead of popping a prompt. ## API JSON lines over `~/Library/Application Support/FSearch/fsearch.sock`, or
已知限制

内容搜索会跳过某些文件类型及 build/ 和 vendor/ 文件夹。

查看 README 依据
On the smaller Linux kernel (96k files), name search is a tie and fsearch wins the rest. fff searches the contents of about 9% more files, because fsearch skips some file types and `build/` and `vendor/` folders. ## Queries ``` fsearch 'readme in:~/Developer' # inside a folder fsearch 'type:image size:>5mb mtime:<7d' fsearch 'ext:rs regex:fn\s+\w+_dir' # regex inside files fsearch 'sym:apply_dir' # where it's defined ``` Words are fuzzy, and 5+ letter words forgive one typo (`mian.rs` finds

README

正在加载 README…

收录信息

仓库创建时间
2026/10/9 01:50:33
首次达标收录
2026/10/9 12:11:05
统计更新时间
2026/10/11 15:45:35

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。

模型评估

值得看加权总分 4.2 / 5

新颖度
3.9
实用价值
4.8
成熟度
4.1
实质含量
3.7

由 Jev 模型根据仓库描述与 README 评估,2026/10/10 13:55:14 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。

仓库信息

最近推送
2026/10/11 11:00:37
许可证标识
MIT
Fork 数
112
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:热门
首次发现项目