AST-grep, a grep/eslint/codemod hybrid tool, powered by tree-sitter.
It is heavily inspired by semgrep, but intends to be an AST-base searcher/linter/rewriter. https://github.com/ast-grep/ast-grep
AST-grep, a grep/eslint/codemod hybrid tool, powered by tree-sitter. launched on May 10, 2023 with 11 votes, #1,672 of 4,910 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 3 years on.
In plain words
AST-grep is a command-line tool that searches, lints, and rewrites code using abstract syntax tree analysis powered by tree-sitter. It combines the functionality of grep, ESLint, and codemod tools into a single utility. Designed for developers who need to find patterns in code and make large-scale refactoring changes, AST-grep enables syntax-aware code inspection and transformation across multiple programming languages.
written from the facts on this page · September 2026
From the sources
ast-grep is a fast and polyglot tool for code structural search, lint, rewriting at large scale.
ast-grep(sg) is a fast and polyglot tool for code structural search, lint, rewriting at large scale. ast-grep is a code tool for structural search and replace . It is like syntax-aware grep/sed! You can write code patterns to locate and modify code, based on AST, in thousands of files, interactively . ast-grep is a versatile and flexible tool for linting code with AST patterns. You can easily add new customized rules with intuitive syntax and enjoy pretty error reporting out of box. ast-grep also provides node-js binding to access syntax trees programmatically. You can use jQuery like utility methods to traverse syntax tree nodes. Node API also has opt-in type safety . Blazing fast search…from ast-grep.github.io
Does a similar job
all alternatives →
- SCSearch code in GitHub repos using regular expressions2020 · grep.app · ▲614

Structural code grep across public GitHub repositoriesAug 2026 · grep.codemod.com · ▲15Codemod grep searches public code by syntax and structure, not just text or regex. Use ast-grep patterns to find code by shape across repositories.
- AIAnyone interested in a tool helps to explore C++ ASTsMay 2026 · uvic-aurora.github.io · ▲49
I built this software to help users who need to do static code analysis for C/C++ codebase. This can help you to explore the ASTs interactively. It can replace the Clang ast dump completely and also you can search the code/ASTs in a structual way. For example you can search a function which matches specific name or number of paremeters.
Semantic Grep – A Word2Vec-powered search tool2024 · github.com · ▲356Much improved new version. Search for words similar to the query. For example, "death" will find "death", "dying", "dead", "killing"... Incredibly useful for exploring large text datasets where exact matches are too restrictive.
More dev tools this month
the category →

Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.
Dev tools · 20h ago · github.com

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 29d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 27d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 24d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 22d ago · talanoa.email
Source: Show HN post ↗
Launched alongside, May 2023
the whole month →

In today's world, catchy headlines and articles often distract readers from the facts and relevant information. By utilizing OpenAI's language models, Boring Report processes sensationalist news articles, transforms them into the content you see, and helps readers focus on the essential details. We recently updated our iOS app experience, so any and all feedback would be appreciated. App Link: https://apps.apple.com/us/app/boring-report-news-by-ai/id644...
AI · 2023 · boringreport.org


Momentum Page▲834Launch your website in seconds, get users in minutes
Dev tools · 2023 · page.mmntm.build
