Alternatives
Products that do what Structural code grep across public GitHub repositories does
Codemod grep searches public code by syntax and structure, not just text or regex. Use ast-grep patterns to find code by shape across repositories.
- 1

- 2VA
I explored an alternative way to view codebases to the typical folder/file list, showing a bird's-eye-view of its structure. https://octo.github.com/projects/repo-visualization
2021 · octo.github.com
- 3

- 4GG
2020 · github.com
- 5AS
2020 · github.com
- 6IW
My book on "GNU grep and ripgrep" is free to download today and tomorrow [1][2] Code snippets, example files and sample chapters are available on GitHub [3] The book uses plenty of examples and regular expressions are also covered from scratch. The book is suitable for beginners as well as serves as a reference. Hope you find it useful, I would be grateful for your feedback and suggestions. I used pandoc+xelatex [4] to generate the pdf. [1] https://gumroad.com/l/gnugrep_ripgrep [2] https://leanpub.com/gnugrep_ripgrep [3]…
2019
- 7

- 8XM
Hi HN, I built XRAY MCP after discovering that AI assistants were scanning my projects with plain grep and guessing. I tried direct tree-sitter integration and language servers; both felt heavy for a lightweight tool. ast-grep hit a sweet spot: syntax-aware search in a single binary. XRAY MCP wraps it behind three endpoints—map, find, impact—so a model (or human) can answer questions like “what breaks if I change this function?” on demand. It’s stateless, supports Python/JS/TS/Go, and installs quickly. Repo: https://github.com/srijanshukla18/xray Would love…
2025 · github.com
- 9

- 10
- 11HS
Releasing ColGREP today, made using our open-source multi-vector database, it support grep like filtering while adding an extra input to rank output of grep based on semantic similarity. ColGREP is packed with strong code retrieval models we designed and run 100% locally.
Feb 2026 · github.com
- 12SC
2017 · asciinema.org
- 13SC
Hey HN! We (Stephan and Thomas) recently open-sourced Semble. We kept running into the same problem while using Claude Code on large codebases: when the agent can't find something directly, it falls back to grep, reading full files or launching subagents. This uses a lot of tokens, and often still misses the relevant code. There are existing tools for this, but they were either too slow to index on demand, needed API keys, or had poor retrieval quality. So we built Semble. It combines static Model2Vec embeddings (using our latest static model: potion-code-16M) with BM25, fused via RRF and…
May 2026 · github.com
- 14GA
2016 · grokbit.com
- 15SF
Hey HN! We've just open-sourced Semble, a fast and accurate code search library built for agents. We're also releasing potion-code-16M, a small code-specialized static embedding model that powers it. Most embedding-based code search methods are either too slow to index on demand or need GPU infrastructure, while grep-style retrieval methods often cannot find the relevant content. Semble combines the speed and quality benefits of both, so agents waste less time and fewer tokens exploring. Main features: - Fast: indexes a full codebase in ~250 ms and answers queries in ~1.5 ms, all on CPU…
Apr 2026 · github.com
- 16GV
2021 · trygrok.com
- 17GS
2016 · gitsnippet.com
- 18GT
2020 · github.com
- 19SS
I built sqry, a local code search tool that works at the semantic level rather than the text level. The motivation: ripgrep is great for finding strings, but it can't tell you "who calls this function", "what does this function call", or "find all public async functions that return Result". Those questions require understanding code structure, not just matching patterns. sqry parses your code into an AST using tree-sitter, builds a unified call/ import/dependency graph, and lets you query it: sqry query "callers:authenticate" sqry query "kind:function AND visibility:public AND…
Mar 2026 · sqry.dev
- 20OS
Starting an exploratory version of SWE-Grep[0] since it doesn't look like they will do it. It is now just a simple RNN model with synthetically generated datasets. Have a look and follow the progress at https://github.com/aperoc/op-grep! [0]: https://cognition.ai/blog/swe-grep
Oct 2025 · github.com
- 21TH
I built a library that lets you find code patterns using familiar CSS-like selectors, then connected it to Claude via MCP so AI assistants can understand and refactor codebases. The Approach // Find code patterns with intuitive selectors: const asyncFunctions = tree.findAll('function[async]'); const todoComments = tree.findAll('comment[text="TODO"]'); const reactHooks = tree.hooks(); // Built-in React support // Chain smart transformations: tree.transform() .rename('oldFunction', 'newFunction') .removeUnusedImports() .toString(); Key Features - CSS-like…
2025
- 22AC
For the past couple of months, I’ve been building a tool that enables natural language search over large codebases using Tree-Sitter for syntax parsing and Qdrant for vector-based retrieval. https://app.repogram.com ### How It Works - Tree-Sitter is used to parse syntax trees and extract high-quality vector embeddings of code. - These embeddings are stored in Qdrant, enabling fast similarity search across your entire repo. - A combination of re-ranking processes refine search results, producing highly relevant answers to code-related questions. The results have been incredibly…
2025 · app.repogram.com
- 23RA
OP here. I built RepoReaper to solve code context fragmentation in RAG. Unlike standard chat-with-repo tools, it simulates a senior engineer's workflow: it parses Python AST for logic-aware chunking, uses a ReAct loop to JIT-fetch missing file dependencies from GitHub, and employs hybrid search (BM25+Vector). It also generates Mermaid diagrams for architecture visualization. The backend is fully async and persists state via ChromaDB. Link: https://github.com/tzzp1224/RepoReaper
Jan 2026 · github.com
- 24HI
2015 · hackersearch.io
Ranked by how close each launch is in meaning, then by votes. Refine with a description →