Ripgrep 14 Released

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • LearnThisRepo.com - Learn 300+ open source libraries for free using AI.
  • WorkOS - The modern API for authentication & user identity.
  • ripgrep

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

    The shell function from this comment works pretty well for me: https://github.com/BurntSushi/ripgrep/issues/152#issuecommen...

  • sd

    Intuitive find & replace CLI (sed alternative)

    I wanted to like sd but it doesn't support my main use case of recursive search/replace. Imagine every time you wanted to grep some files you had to build a find+xargs+rg pipeline... it just takes me out of the flow too much. I'm glad people are posting other options here, I'm looking forward to trying them.

    https://github.com/chmln/sd/issues/62

  • 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.

  • ast-grep

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

    Thanks for the pointer. There are definitely a few tools that have explored the idea of searching the AST of code. Semgrep seems to do that, as does a tool called ast-grep [0].

    Both of them are sort of doing the opposite of my tool. They are letting you specify your search as a chunk of code/AST.

    My tool let's you grep a regex as usual, but shows you the matches in a helpful AST aware way.

    [0] https://ast-grep.github.io/

  • amber

    A code search / replace tool (by dalance)

    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.

  • fastmod

    A fast partial replacement for the codemod tool

  • xe

    simple xargs and apply replacement

    I’ll also throw in Leah Neukirche ‘s xe as a better alternative to xargs: https://github.com/leahneukirchen/xe

  • grep-ast

    Grep source code and see useful code context about matching lines (by paul-gauthier)

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts