Footer

Your go-to destination for discovering trending open-source projects and uncovering the insights that matter

Legal

  • Terms and conditions
  • Privacy policy

More

  • Pricing
  • Advertise
  • onedump
  • gosnakego
  • Contact us

Social

  • X (Twitter)
  • GitHub
Trendshift owl
What they build speaks louder than words
© 2026 Trendshift, created by Julian Li with ❤️
SignalAdvertise
Trendshift
SignalAdvertise
Sign in
Trendshift owl

Discover trends that matter

SignalAdvertise
DailyWeeklyMonthlyYearly
Live mentionsTopics
RepositoriesDevelopers
InsightsStats

Trina AX
Trina AX
Bifrost
Bifrost

ast-grep/ast-grep

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

#Static analysis
Visit GitHub
Rust
16.7k
530
88 contributors
MIT License
website
AchievementsView all →
FeaturedAdvertise to 180K+ monthly visitors
Trina AX

A self-hosted team AI workspace for company files, with per-person folder permissions

Bifrost

Fastest Enterprise AI Gateway for Routing, Governing, and Securing all your AI Traffic

Momentum

How fast ast-grep/ast-grep is gaining stars, and where it lands on Trendshift and GitHub Trending

Activity and trending

Stars, forks and merged pull requests each day or month, lined up with the repository's rank on Trendshift Trending

Sep 27 – Nov 26, 2026

Stars +662 in 61 days

0102030
29

Forks +58 in 61 days

0123
3

Merged PRs 116 in 61 days

051015
11

Trendshift Trendingwhere the repository ranked each day it made the top 25

Not in the Trendshift top 25 in this period

Sep 27Oct 5Oct 13Oct 21Oct 29Nov 6Nov 14Nov 22
The left and right arrow keys step from day to day; Home and End go to the first and the last

Stars, forks, merged pull requests and Trendshift Trending rank, by day
DayStars gainedForks gainedMerged PRs
Sun, Sep 27, 2026+7+00
Mon, Sep 28, 2026+7+01
Tue, Sep 29, 2026+14+10
Wed, Sep 30, 2026+7+10
Thu, Oct 1, 2026+7+00
Fri, Oct 2, 2026+10+00
Sat, Oct 3, 2026+10+21
Sun, Oct 4, 2026+5+110
Mon, Oct 5, 2026+4+16
Tue, Oct 6, 2026+5+10
Wed, Oct 7, 2026+4+01
Thu, Oct 8, 2026+26+20
Fri, Oct 9, 2026+15+10
Sat, Oct 10, 2026+15+00
Sun, Oct 11, 2026+8+10
Mon, Oct 12, 2026+15+02
Tue, Oct 13, 2026+20+31
Wed, Oct 14, 2026+5+31
Thu, Oct 15, 2026+8+00
Fri, Oct 16, 2026+7+10
Sat, Oct 17, 2026+4+30
Sun, Oct 18, 2026+12+00
Mon, Oct 19, 2026+21+111
Tue, Oct 20, 2026+11+08
Wed, Oct 21, 2026+8+00
Thu, Oct 22, 2026+8+110
Fri, Oct 23, 2026+20+00
Sat, Oct 24, 2026+6+00
Sun, Oct 25, 2026+8+06
Mon, Oct 26, 2026+16+32
Tue, Oct 27, 2026+10+00
Wed, Oct 28, 2026+13+15
Thu, Oct 29, 2026+10+13
Fri, Oct 30, 2026+1+20
Sat, Oct 31, 2026+2+12
Sun, Nov 1, 2026+8+15
Mon, Nov 2, 2026+12+02
Tue, Nov 3, 2026+10+20
Wed, Nov 4, 2026+15+22
Thu, Nov 5, 2026+14+35
Fri, Nov 6, 2026+7+11
Sat, Nov 7, 2026+15+20
Sun, Nov 8, 2026+10+05
Mon, Nov 9, 2026+29+14
Tue, Nov 10, 2026+16+33
Wed, Nov 11, 2026+24+11
Thu, Nov 12, 2026+21+11
Fri, Nov 13, 2026+0+10
Sat, Nov 14, 2026+10+06
Sun, Nov 15, 2026+6+20
Mon, Nov 16, 2026+11+25
Tue, Nov 17, 2026+14+00
Wed, Nov 18, 2026+13+00
Thu, Nov 19, 2026+3+04
Fri, Nov 20, 2026+14+10
Sat, Nov 21, 2026+9+10
Sun, Nov 22, 2026+9+00
Mon, Nov 23, 2026+10+10
Tue, Nov 24, 2026+17+22
Wed, Nov 25, 2026+14+00
Thu, Nov 26, 2026+2+00
Total+662+58116
  • 1#1 on the list
  • 7Rank that day
  • Not trending
1
  • GitHub trending history

    Where the repository ranked on GitHub Trending, one dot for each day it was on a list

    Dec 11 – Dec 12, 2023Best #13

    #1#5#10#15#20#25
    Top 10
    Jan 2024JulJan 2025JulJan 2026Jul
    The left and right arrow keys step from day to day; Home and End go to the first and the last

    Mentions and achievements

    Where people are talking about ast-grep/ast-grep, and every badge it has earned
    1. Nov 101 post
      • 5 local-first tools i keep in my coding agent stack so nothing depends on a cloud dashboard: 1. ripgrep -> fast search that respects .gitignore 2. fd -> file lookup without find's flag soup 3.…

        Read full on X, posted by @MohakBajaj5

        @MohakBajaj5 · x.com

    2. 10 days earlier
    3. Oct 311 post
      • grep found 220 matches in my file. 80 of them were lies. I spent last night putting ast-grep through a real test. Not the README demo — a 2,760-line JS file with 140 real fetch() calls hiding among…

        Read full on X, posted by @ReignSwords

        @ReignSwords · x.com

    4. Oct 291 post
      • before you hand your terminal to a coding agent, install these. agents shell out all day, and each one makes those calls faster or safer: - ripgrep: search that respects .gitignore - fd: find without…

        Read full on X, posted by @MohakBajaj5

        @MohakBajaj5 · x.com

    5. Oct 231 post
      • 改几十个文件的相似代码,普通搜索替换不放心?🧩 ast-grep 按代码语法结构查找和替换,适合批量重构。先预览匹配结果。🔧 #Refactoring #浇朋友 #蓝朋友 #互关 #fo

        Read full on X, posted by @T1doo_AI

        @T1doo_AI · x.com

    6. 16 days earlier
    7. Oct 71 post
      • ⚠️ Breaking change in upcoming ast-grep ⚠️: native custom-language libraries are now ignored by default for security. Use --custom-languages allow for one run, or --custom-languages trust to remember…

        Read full on X, posted by @hd_nvim

        @hd_nvim · x.com

    8. 15 days earlier
    9. Sep 221 post
      • 7 open-source repos to migrate a codebase without doing it file by file

        Read full on Reddit

        r/WebAfterAI

    10. 2 months earlier
    11. Jul 251 post
      • • Patterns look like ordinary code and match AST nodes • YAML configuration for custom linting rules and code modification • Written in Rust with tree-sitter parsing and multi-core support

        Read full on X, posted by @the_osps

        @the_osps · x.com

    12. Jul 221 post
      • I'm at level 2 with a few toes dipped into Level 3. This is where it started paying off the most for me: curate the markdown, then steer evals until 1-shot output is acceptable. The agent's *config*…

        Read full on X, posted by @sethgho

        @sethgho · x.com

    13. 1 month earlier
    14. Jun 81 post
      • AST-GREP $SG Looks like they're doing something really impressive. 0xD90059bD2A56999f236B8682B1D140f23b163bA3

        Read full on X, posted by @EthanMiles550

        @EthanMiles550 · x.com

    15. 13 days earlier
    16. May 261 post
      • 🇸🇪 #Cpp daily: (24h + upcoming) 🎥 8 videos 📝 3 blogs 🚀 3 releases 📍 4 upcoming meetups 🎙️ 1 podcast Random 🚀 pick: ast-grep/ast-grep/0.43.0

        Read full on X, posted by @SwedenCpp

        @SwedenCpp · x.com

    You might also like

    Repositories close to ast-grep/ast-grep
    FeaturedAdvertise to 180K+ monthly visitors
    Trina AX

    A self-hosted team AI workspace for company files, with per-person folder permissions

    Bifrost

    Fastest Enterprise AI Gateway for Routing, Governing, and Securing all your AI Traffic

    biomejs/gritql

    Rust

    GritQL is a query language for searching, linting, and modifying code.

    4.6k131

    ast-grep/ast-grep-mcp

    Python
    50031

    ast-grep/agent-skill

    91338

    ast-grep/ast-grep-vscode

    TypeScript

    ast-grep VSCode is a structural search and replace extension for many languages.

    24125

    cocoindex-io/cocoindex-code

    Python

    A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you like it!

    3k273

    probelabs/probe

    Rust

    AI-friendly semantic code search engine for large codebases. Combines ripgrep speed with tree-sitter AST parsing. Powers AI coding assistants with precise, context-aware code understanding.

    74367

    1jehuang/agentgrep

    Rust

    CLI-first code search and retrieval for agents

    5317

    VeraTools/vera

    Rust

    Local code search combining BM25, vector similarity, and cross-encoder reranking. Parses 60+ languages with tree-sitter, runs entirely offline, and returns structured results with file paths, line ranges, and symbol metadata. Built in Rust.

    15320

    comby-tools/comby

    OCaml

    A code rewrite tool for structural search and replace that supports ~every language.

    2.7k73