InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 18 Rust tree-sitter Projects
-
I’m pretty sure one of the Zed founders wrote tree-sitter, so I’m sure there’s some overlap
It’s really cool to see tree-sitter unlock so many of these use cases. I love using [difftastic] for my diffing tool to get context aware diffs. So in the example from the article, the diff would highlight the `void` and `int` changes with a heavier background of red and green respectively
[difftastic]: https://github.com/Wilfred/difftastic
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
- Project mention: Show HN: Cdecl-dump: represent C declarations visually | news.ycombinator.com | 2025-12-07
We use the tree-sitter[1] for parsing C declarations in Rizin[2] (see the "td" command, for example). See our custom grammar[3] (modified mainstream tree-sitter-c). The custom grammar was sadly necessary, due to the inability of Tree-Sitter to have the alternate roots[4].
P.S. Please add a license for your code.
[1] https://tree-sitter.github.io/
[2] https://github.com/rizinorg/rizin/tree/dev/librz/type/parser
[3] https://github.com/rizinorg/tree-sitter-c/
[4] https://github.com/tree-sitter/tree-sitter/issues/711
-
- Project mention: CI/CD Observability with OpenTelemetry Step by Step Guide | news.ycombinator.com | 2025-06-15
"Better" is always "for what metric" but if nothing else having the source code to the stack is always "better" IMHO even if one doesn't choose to self-host, and that goes double for SigNoz choosing a permissive license, so one doesn't have to get lawyers involved to run it
---
While digging into their open source story, I did find these two awesome toys, one relevant to the otel discussion and one just neato
https://github.com/honeycombio/refinery (Apache 2) -- Refinery is a tail-based sampling proxy and operates at the level of an entire trace. Refinery examines whole traces and intelligently applies sampling decisions to each trace. These decisions determine whether to keep or drop the trace data in the sampled data forwarded to Honeycomb.
https://github.com/honeycombio/gritql (MIT) -- GritQL is a declarative query language for searching and modifying source code
-
gitlogue
A cinematic Git commit replay tool for the terminal, turning your Git history into a living, animated story.
Project mention: Gitlogue: Turning Your Commit History into a Cinematic Terminal Experience | dev.to | 2025-12-18View the Project on GitHub
- Project mention: Diffsitter – A Tree-sitter based AST difftool to get meaningful semantic diffs | news.ycombinator.com | 2025-07-10
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
srgn
A grep-like tool which understands source code syntax and allows for manipulation in addition to search
- Project mention: Show HN: GitType – A typing game that turns GitHub repos into challenges | news.ycombinator.com | 2025-09-20
* Various bug fixes and UI improvements
You can find the project here: https://github.com/unhappychoice/gittype
How high can you score? Can you break 1000 points?
-
-
-
-
-
treeedb
Generate Soufflé Datalog types, relations, and facts that represent ASTs from a variety of programming languages.
-
-
-
roberto-mcp
Simple Code Analysis MCP server, language agnostic with code indexing and search capabilities.
Project mention: Bridging the Gap: Turning Code Parsing Experience into AI Context | dev.to | 2025-10-03The project is live on GitHub and crates.io. What started as scratching my own itch has become a tool that bridges years of code analysis expertise with modern AI capabilities.
- Project mention: Ask HN: What Are You Working On? (September 2025) | news.ycombinator.com | 2025-09-29
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust tree-sitter discussion
Rust tree-sitter related posts
-
Introducing GoDiffYAML Tool 💪
-
Difftastic: A structural diff that understands syntax
-
Difftastic: A structural diff that understands syntax
-
Diffsitter – A Tree-sitter based AST difftool to get meaningful semantic diffs
-
Show HN: An open-source browser extension that integrates difftastic into GitHub
-
DiffX – Next-Generation Extensible Diff Format
-
Decoding Tree-sitter Playground Output For Fun
- A note from our sponsor - InfluxDB www.influxdata.com | 23 Dec 2025
Index
What are some of the best open-source tree-sitter projects in Rust? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | difftastic | 23,739 |
| 2 | tree-sitter | 23,043 |
| 3 | ast-grep | 11,708 |
| 4 | gritql | 4,282 |
| 5 | gitlogue | 3,707 |
| 6 | diffsitter | 2,293 |
| 7 | zee | 1,735 |
| 8 | srgn | 869 |
| 9 | gittype | 804 |
| 10 | loxcraft | 350 |
| 11 | glyph | 197 |
| 12 | sus-compiler | 118 |
| 13 | datadog-static-analyzer | 114 |
| 14 | treeedb | 79 |
| 15 | tcount | 71 |
| 16 | chroma_code | 27 |
| 17 | roberto-mcp | 5 |
| 18 | tree-sitter-query-formatter | 0 |