{"repo":"boyter/cs","free":true,"listed":false,"github":"https://github.com/boyter/cs","clone":"git clone https://github.com/boyter/cs.git","description":"codespelunker - CLI code search tool that understands code structure and ranks results by relevance. No indexing required with CLI, TUI, MCP and HTTP support.","language":"Go","stars":1057,"topics":["search","code","command-line-tool","cli","tui"],"license":"MIT","category":"cli-tools","readme_excerpt":"codespelunker (cs) cs powers searchcode.com — structured code intelligence over any repo, built for AI agents. CLI code search tool that understands code structure and ranks results by relevance. No indexing required Ever searched for authenticate and gotten 200 results from config files, comments, and test stubs before finding the actual implementation? cs fixes that. It combines the speed of CLI tools with the relevance ranking usually reserved for heavy indexed search engines like Sourcegraph or Zoekt, but without needing to maintain an index. Licensed under MIT. [//]: # ([![asciicast]&#40;https://asciinema.org/a/589640.svg&#41;]&#40;https://asciinema.org/a/589640&#41;) cs TUI demo Pitch: Why use cs? Most search tools treat code as plain text. cs doesn't. It parses every file on the fly to understand what is a comment, what is a string, and what is code then uses that structure to rank by relevance, not just list them by occurrence. It comes with a TUI and HTTP mode for Interactive Exploration. What makes it different from ripgrep or grep? ripgrep is a fast text matcher. It finds lines and prints them. It's the best at what it does. cs is a search engine. It finds files, ranks by relevance, extracts the best snippet, and shows the most relevant results. Think Sourcegraph-quality ranked search as a CLI tool, no index required. They solve different problems. You'll probably want both. Key capabilities - Structural Awareness: A match in code ranks higher than the same word in","default_branch":null,"files":null,"tree":[],"storefront":"/r/boyter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/boyter/cs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}