Rust Grep

Open-source Rust projects categorized as Grep

Top 12 Rust Grep Projects

  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    Project mention: Code Search Is Hard | news.ycombinator.com | 2024-04-10

    Basic code searching skills seems like something new developers are never explicitly taught, but which is an absolutely crucial skill to build early on.

    I guess the knowledge progression I would recommend would look something kind this:

    - Learning about Ctrl+F, which works basically everywhere.

    - Transitioning to ripgrep https://github.com/BurntSushi/ripgrep - I wouldn't even call this optional, it's truly an incredible and very discoverable tool. Requires keeping a terminal open, but that's a good thing for a newbie!

    - Optional, but highly recommended: Learning one of the powerhouse command line editors. Teenage me recommended Emacs; current me recommends vanilla vim, purely because some flavor of it is installed almost everywhere. This is so that you can grep around and edit in the same window.

    - In the same vein, moving back from ripgrep and learning about good old fashioned grep, with a few flags rg uses by default: `grep -r` for recursive search, `grep -ri` for case insensitive recursive search, and `grep -ril` for case insensitive recursive "just show me which files this string is found in" search. Some others too, season to taste.

    - Finally hitting the wall with what ripgrep can do for you and switching to an actual indexed, dedicated code search tool.

  • ast-grep

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

    Project mention: AST-grep(sg) AST grep based on Treesitter | news.ycombinator.com | 2024-04-01
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • teip

    Masking tape to help commands "do one thing well"

    Project mention: Teip: CLI to apply sed and Awk over rows and columns of a file | news.ycombinator.com | 2023-12-23
  • amber

    A code search / replace tool (by dalance)

    Project mention: Ripgrep 14 Released | news.ycombinator.com | 2023-11-26

    Recently I have also used [ambr](https://github.com/dalance/amber) which can do both search (ambs) and replace (ambr) recursively in your codebase. The only problem as of yet is that it does not support globbing so I cannot filter on certain filetypes only.

  • hgrep

    Grep with human-friendly search results

  • bogrep

    Grep your bookmarks

    Project mention: Show HN: Bogrep – Grep Your Bookmarks | news.ycombinator.com | 2023-11-04
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • spacemod

    A easy to understand and powerful text search-and-replace tool

  • fgr

    Find & GRep program

  • perg

    Grep implementation in rust.

  • grab

    An attempt at making a simple clone of grep(1) using Rust. (by selectiveduplicate)

  • titan

    TITAN, Tiny and Intuitive Text Analysis tool for Rust-based patterns (by dpouris)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-10.

Rust Grep related posts

Index

What are some of the best open-source Grep projects in Rust? This list will help you:

Project Stars
1 ripgrep 44,594
2 ast-grep 5,805
3 teip 515
4 amber 447
5 hgrep 409
6 so_stupid_search 155
7 bogrep 95
8 spacemod 40
9 fgr 18
10 perg 12
11 grab 4
12 titan 2
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com