codespelunker - 一个 CLI 代码搜索工具,可理解代码结构并根据相关性对结果进行排名。不需要使用 CLI、TUI、MCP 和 HTTP 支持进行索引。
codespelunker - 一个 CLI 代码搜索工具,可理解代码结构并根据相关性对结果进行排名。不需要使用 CLI、TUI、MCP 和 HTTP 支持进行索引。
cs powers searchcode.com — 面向 AI 代理的结构化代码智能,可在任何仓库中使用。
您是否曾经搜索过 authenticate,并在查找实际实现之前从配置文件、注释和测试代码中找到 200 个结果?cs 可以解决这个问题。
它将 CLI 工具的速度与通常只用于大型索引搜索引擎的相关性排名相结合
类似 Sourcegraph 或 Zoekt,但无需维护索引。
cs "authenticate" --gravity=brain # Find the complex implementation, not the interface
cs "FIXME OR TODO OR HACK" --only-comments # Search only in comments, not code or strings
cs "error" --only-strings # Find where error messages are defined
cs "handleRequest" --only-declarations # Jump straight to where it's defined
cs "handleRequest" --only-usages # Find every call site, skip the definition
cs "error" --dedup # Collapse duplicated matches into one result根据 MIT 许可证发行。 [//]: # ([](https://asciinema.org/a/589640)) cs TUI 演示
暂无开放 Issues,或尚未同步最近议题。