cd /news/developer-tools/show-hn-structural-code-grep-across-… · home topics developer-tools article
[ARTICLE · art-107207] src=grep.codemod.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Show HN: Structural code grep across public GitHub repositories

Ast-grep, an open-source structural code search tool, now lets developers run ast-grep pattern syntax searches across public GitHub repositories, enabling pattern-based code search beyond simple text matching.

read1 min views1 publishedAug 22, 2026

grep by Learn ast-grep Feedback Structural code search Find patterns across public repositories with ast-grep pattern syntax . Edit YAML rule Pattern Rule Regex Ask AI Search

console.log($MSG)
$A.$B($C)
await $EXPR

<img> without alt More examples

── more in #developer-tools 4 stories · sorted by recency
── more on @ast-grep 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-structural-c…] indexed:0 read:1min 2026-08-22 ·