nowfound

Dev tools · May 11, 2023

ast-grep

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 launched on May 11, 2023 with 63 votes, #1,296 of 4,395 launches that month and more than 50% 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 by AI from its launch page and website · 5 September 2026

Originality

62/100

Familiar idea. More original than 62% of products launched in 2023.

Similar products before it
3
in the archive on its launch day
See similar products ↓
Similar products since
9
launched after it
See similar products ↓

crowded fieldone of a kind

The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →

Forecast

87%

chance that ast-grep’s website is still online in November 2031. Typical launch of 2023 gets 80%.

1 year
98%
typical 96%
3 years
92%
typical 88%
5 years
87%
typical 80%
  • ast-grep
  • Typical launch of 2023

Launch signals stronger than 95% of the archiveweakest → strongest

Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →

From the sources

ast-grep(sg) is a fast and polyglot tool for code searching, linting, and rewriting at large scale. Think it as a hybrid of grep, eslint, and codemod. But for all programming languages with super fast running speed!

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

Listed underProductivity toolsDeveloper tools

  • Search code in GitHub repos using regular2020 · grep.app · ▲614

    Code search made fast

  • Structural code grep across public GitHubAug 2026 · grep.codemod.com · ▲15

    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.

  • AI
    Anyone interested in a tool helps to exploreMay 2026 · uvic-aurora.github.io · ▲49

    This tool helps C++ developers perform static code analysis by providing interactive exploration of abstract syntax trees (ASTs).

  • SeaGOAT2023 · github.com · ▲240

    local-first semantic code search engine.

  • Semantic Grep2024 · github.com · ▲356

    Much 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.

  • A syntax highlighter for Git and diff output2020 · github.com · ▲261

    A syntax-highlighting pager for git, diff, grep, rg --json, and blame output

More dev tools this month

the category →

Is ast-grep yours? Feature it on the home page: $19, or free with the badge →

Source: Product Hunt launch ↗

Launched alongside, May 2023

the whole month →