Nicheloom visits: 58,145 all-time · 7,637 in the last 7 days

The opportunity tracker for new startups.

Today: 1,953 launches · Niche of the day: specialized calculation tools · See what launched today →

CS

indexless code search that understands code, comments and strings

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

I initially built cs (codespelunker) as a way to answer the question, can BM25 relevance search work without building an index?Turns out it can, and so I iterated on the idea, building it into a full CLI tool. Recently I wanted to improve it by adding relevance of tools like Sourcegraph or Zoekt but again without adding an index.cs uses scc https://github.com/boyter/scc to understand the structure of the file on the fly. As such it can filter searches to code, comments or strings. It also applies a weighted BM25 algorithm where matches in actual code rank higher than matches in comments (by default).I also added a complexity gravity weight using the cyclomatic complexity output from scc as it scans. So if you're searching for a function, the implementation should rank higher than the interface. 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-usages # Find every call site, skip the definition v3.0.0 adds a new ranker, along with a interactive TUI, HTTP mode, and MCP support for use with LLMs (Claude Code/Cursor).Since it's doing analysis and complexity math on the fly, it's slower than any grep. However, on an M1 Mac, it can scan and rank the entire 40M+ line Linux kernel in ~6 seconds.Live demo (running over its own source code in HTTP mode): https://codespelunker.boyter.org/ GitHub: https://github.com/boyter/cs

HN · launched Feb 22, 2026 · 15 upvotes (top 35%) · 0 views

Niche: niche search tools and widgets · 85 launches, 3 in the last 7 days ▼ -70% · Explore this niche →

Category and tags

  • Horizontal
  • Search & retrieval
  • Developer
  • Not AI
  • Commercial product

Visit website ↗ Source listing ↗

Could you build this?

No Building an indexless, AST-aware BM25 search CLI that understands code semantics, comments, and strings across entire codebases at high speed requires specialized algorithms and low-level systems programming.

What it would actually take: This requires building a high-performance CLI (typically in Rust or C++) integrating Tree-sitter parsers for multiple languages to tokenize code into AST-derived categories (identifiers, comments, literals). It must implement streaming BM25 ranking algorithms on-the-fly across memory-mapped files without pre-indexing, using multi-threading (Rayon) and SIMD-accelerated text parsing to maintain interactive CLI latencies. This requires deep systems programming and information retrieval expertise.

Discussion

2 comments analyzed.

Competitors mentioned: Serena

Competitors

Other products that read as similar to this one : 73 launches clear the similarity bar, closest 8 shown.

Attention rank: #32 of 74 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 116 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.