4 releases (2 breaking)

Uses new Rust 2024

new 0.3.0 Apr 29, 2025
0.2.1 Mar 15, 2025
0.2.0 Feb 28, 2025
0.1.0 Feb 25, 2025

#1267 in Command line utilities

Download history 101/week @ 2025-02-20 201/week @ 2025-02-27 15/week @ 2025-03-06 149/week @ 2025-03-13 11/week @ 2025-03-20 2/week @ 2025-04-10 83/week @ 2025-04-24

85 downloads per month

MIT license

375KB
2K SLoC

mamegrep

mamegrep Documentation Actions Status License

mamegrep offers an interactive terminal interface (TUI) for $ git grep, allowing users to easily edit search patterns and view results.

mamegrep

Installation

Pre-built binaries

Pre-built binaries for Linux and MacOS are available in the releases page.

// An example to download the binary for Linux.
$ VERSION=0.2.1
$ curl -L https://github.com/sile/mamegrep/releases/download/v${VERSION}/mamegrep-${VERSION}.x86_64-unknown-linux-musl -o mamegrep
$ chmod +x mamegrep
$ ./mamegrep -h

With Cargo

If you have installed cargo (the package manager for Rust), you can install mamegrep with the following command:

$ cargo install mamegrep
$ mamegrep -h

Please refine the following section:

Basic Usage

To use mamegrep, execute the command within a Git directory. Once launched, key bindings will appear in the top-right corner of the terminal.

To perform a search, enter your search pattern and press the Enter key. If mamegrep exits, the equivalent $ git grep command used to generate the result will be displayed in the standard output.

You Might Also Be Interested In

  • mamediff: A TUI tool for $ git diff and $ git apply

Dependencies

~1.5MB
~26K SLoC