BurntSushi/ripgrep

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 45 minutes ago
Added to GitGenius on May 5th, 2026
Created on March 11th, 2016
Open Issues & Pull Requests: 175 (+0)
Number of forks: 2,717
Total Stargazers: 67,192 (+2)
Total Subscribers: 327 (+0)

Issue Activity (beta)

Open issues: 65
New in 7 days: 3
Closed in 7 days: 1
Avg open age: 758 days
Stale 30+ days: 56
Stale 90+ days: 39

Recent activity

Opened in 7 days: 2
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 2

Top labels

  • wontfix (52)
  • bug (36)
  • enhancement (35)
  • rollup (33)
  • question (29)
  • invalid (25)
  • duplicate (16)
  • help wanted (11)

Repository Insights (GitGenius)

Median issue/PR response: 0.5 hours
Mean response time: 19.6 days
90th percentile: 4.9 days
Tracked items: 315

Most active contributors

Sign in to see contributor activity.

Detailed Description

ripgrep is a line-oriented search tool written in Rust that recursively searches directories for regex patterns while respecting gitignore rules. By default, it automatically skips hidden files, directories, and binary files, though this filtering can be completely disabled with the -uuu flag. The tool provides first-class support across Windows, macOS, and Linux with binary downloads available for every release.

ripgrep is dual-licensed under MIT or the UNLICENSE and shares contributors with major projects including Microsoft's VSCode and TypeScript repositories as well as the Rust language repository itself. The tool is similar to other popular search utilities like The Silver Searcher, ack, and grep, but distinguishes itself through performance optimization and sensible defaults for code searching.

The repository's README includes extensive benchmark comparisons demonstrating ripgrep's performance advantages. When searching the Linux kernel source tree for the pattern [A-Z]+_SUSPEND with word boundaries, ripgrep completed in 0.082 seconds, outperforming hypergrep at 0.167 seconds, git grep at 0.273 seconds, and The Silver Searcher at 0.443 seconds. On a 13GB file search, ripgrep achieved 1.042 seconds compared to ugrep's 1.339 seconds and GNU grep's 6.577 seconds. The benchmarks reveal that ripgrep maintains performance advantages across various scenarios, including searches with high match counts where ripgrep returned 83,499,915 matches in 6.948 seconds versus ugrep's 11.721 seconds.

Key features include support for searching specific file types with flags like -tpy for Python files, optional PCRE2 regex engine support via -P or --pcre2 flags for look-around and backreferences, rudimentary replacement functionality, support for multiple text encodings including UTF-16 and GBK, and the ability to search compressed files in formats like gzip, bzip2, and zstandard. The tool supports configuration files, arbitrary input preprocessing filters, and context display around matches.

The repository includes comprehensive documentation through a user guide, frequently asked questions section, and regex syntax documentation. The project acknowledges legitimate reasons not to use ripgrep, including the need for POSIX compliance and portability to systems where ripgrep cannot be installed, though the maintainer encourages bug reports for platform availability issues.

ripgrep
by
BurntSushiBurntSushi/ripgrep

Repository Details

Fetching additional details & charts...