Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →
Top 19 Rust Grep Projects
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19I'm sure you can get creative. :-) You can set an environment variable to control the encoding, expose a flag or any one of a number of other things to control the encoding.
You've also continued to ignore my most substantive rebuttal: that a specific example where ripgrep is not compatible with grep or doesn't behave the same doesn't mean it can't be used in shell pipelines. Literally nothing you've said has invalidated anything I've said. All you're doing is finding things that some implementations of grep can do that ripgrep (intentionally) cannot do in exactly the same way. But that's fine, because ripgrep was never, isn't and will never be compatible with grep: https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#pos...
So if you need grep compatibility get a fucking clue and just use grep.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
The amazing ast-grep tool does not support vue and scss by default but can be configured to do so.
-
-
srgn
A grep-like tool which understands source code syntax and allows for manipulation in addition to search
which seems roughly like what the author is after. Mentions of "database" _outside_ function definitions are not modified. That sort of logic I always found hard to replicate in basic GNU-like tools.
Note: I just wrote this, and version 13.2 is required for the above to work.
[0]: https://github.com/alexpovel/srgn
-
-
-
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
Project mention: Scooter: Interactive Find and Replace for the Terminal | news.ycombinator.com | 2024-11-15
Also see the excellent https://github.com/your-tools/ruplacer.
For more advanced needs, I have a custom thing called greprep that let's you make changes using your favorite editor. Workflow is like this:
1. $ rg -n .... > /tmp/lines.txt
-
-
so_stupid_search
It's my honor to drive you fucking fire faster, to have more time with your Family and Sunshine.This tool is for those who often want to search for a string Deeply into a directory in Recursive mode, but not with the great tools: grep, ack, ripgrep .........every thing should be Small, Thin, Fast, Lazy....without Think and Remember too much ...一个工具最大的价值不是它有多少功能,而是它能够让你以多快的速度达成所愿......
-
Project mention: A somewhat faster, more lightweight, ripgrep-inspired alternative | news.ycombinator.com | 2024-08-28
I tried finding other cases where `gg` is meaningfully faster, but I didn't turn anything up.
Now, grip-grab is using the same libraries as ripgrep. So why doesn't it have the same performance profile as ripgrep? That is harder to answer, but it's likely not using the libraries in the best way possible. That's largely my failing, since the libraries are poorly documented, complex and sprawling.
[1]: https://github.com/alexpasmantier/grip-grab/blob/92cc5f6dc2f...
-
-
-
-
-
-
-
mamegrep
An interactive terminal interface for `$ git grep` to easily edit search patterns and view results
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Grep discussion
Rust Grep related posts
-
A somewhat faster, more lightweight, ripgrep-inspired alternative
-
A somewhat faster, more lightweight, ripgrep-inspired alternative
-
Search Multi-language Documents in ast-grep
-
amber, a code search & replace tool
-
Code Search Is Hard
-
Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
-
Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
-
A note from our sponsor - InfluxDB
influxdata.com | 19 Apr 2025
Index
What are some of the best open-source Grep projects in Rust? This list will help you:
# | Project | Stars |
---|---|---|
1 | ripgrep | 51,741 |
2 | ast-grep | 8,472 |
3 | amber | 878 |
4 | srgn | 724 |
5 | sig | 634 |
6 | teip | 581 |
7 | hgrep | 474 |
8 | ruplacer | 465 |
9 | fltr | 381 |
10 | so_stupid_search | 173 |
11 | grip-grab | 119 |
12 | bogrep | 104 |
13 | grepq | 52 |
14 | spacemod | 45 |
15 | fgr | 18 |
16 | perg | 14 |
17 | grab | 5 |
18 | mamegrep | 5 |
19 | titan | 2 |