Looneygrep
Looneygrep is executable as lg for those who wish to type less
Looneygrep is a feature-rich, blazing-fast command-line text search tool created by Richie Looney as a modern alternative to grep and ripgrep.
It supports searching files, web pages, and even interactive replacement of matches.
Features
- 🔍 Search files or web pages for a query string
- 🅰️ Optional case-insensitive search
- 📝 Prompt-to-replace matches interactively
- 📄 Show context lines around matches
- 🎨 Syntax highlighting for code files
- 🧠 File type awareness
- 📂 Search all files in a directory with
--all
Installation
From crates.io:
Or clone and build manually:
Usage
Examples
Search a file:
Search a web page:
Case-insensitive search with context:
Prompt to replace matches:
Search all files in the current directory:
Library Usage
You can also use Looneygrep as a library in your Rust code:
use ;
License
Licensed under either of
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
Author
Richie Looney (richieandkayla@gmail.com)
Contributions welcome!