You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ripgrep-all/README.md

44 lines
1.1 KiB
Markdown

5 years ago
# rga - ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc
5 years ago
[![Linux build status](https://travis-ci.org/phiresky/ripgrep_all.svg)](https://travis-ci.org/BurntSushi/ripgrep)
5 years ago
[![Crates.io](https://img.shields.io/crates/v/ripgrep_all.svg)](https://crates.io/crates/ripgrep_all)
5 years ago
similar:
5 years ago
- pdfgrep
- https://gist.github.com/ColonolBuendia/314826e37ec35c616d70506c38dc65aa
5 years ago
# todo
5 years ago
- jpg adapter (based on object classification / detection (yolo?)) for fun
- 7z adapter (couldn't find a nice to use rust library)
5 years ago
# considerations
5 years ago
- matching on mime (magic bytes) instead of filename
- allow per-adapter configuration options
5 years ago
# Setup
5 years ago
rga should compile with stable Rust. To install it, simply run
```bash
5 years ago
apt install build-essential pandoc poppler-utils
5 years ago
cargo install ripgrep_all
rga --help
```
5 years ago
Some rga adapters run external binaries
# Development
To enable debug logging:
```bash
export RUST_LOG=debug
export RUST_BACKTRACE=1
```
5 years ago
Also rember to disable caching with `--rga-no-cache` or clear the cache in `~/.cache/rga` to debug the adapters.