go-ripgrep
v0.0.4
Published
Pure Go ripgrep implementation with AVX2 SIMD acceleration and no CGO dependencies
Maintainers
Readme
go-ripgrep (NPM Installer)
Pure Go implementation of ripgrep (rg) with handwritten AVX2 SIMD optimizations, zero-allocation fast-paths, and zero CGO dependencies.
Installation
Install globally via npm:
npm install -g go-ripgrepOr run via npx:
npx go-ripgrep --helpFeatures
- No CGO Required: Pure Go static binary, easy single-binary deployment.
- AVX2 Acceleration: Handwritten Go Assembly vector instructions for fast ASCII searches (up to 15x speedup).
- Match Replacement: Full regex and literal matching replacement (
-r/--replace). - File Type Filtering: Pre-configured file extension rules (e.g.
-t go,-T rust). - Ignore climbed trees: Correct climbing and parsing of nested
.gitignore,.ignore,.rgignorerules. - Decompression Search: Search inside
.zip,.gz, and.bz2files directly.
Usage
rg [OPTIONS] PATTERN [PATH...]For more options, run:
rg --help