PythonicNinja

Indexed regex search for large codebases, powered by trigram / sparse n‑gram indexes. A grep-like CLI that builds a local on-disk index, so searches stay fast even on huge monorepos.

20
0
100% credibility
Found Mar 24, 2026 at 20 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

trigrep is a fast search tool for large collections of text files that pre-builds a local lookup guide to speed up finding patterns.

How It Works

1
👀 Discover trigrep

You hear about trigrep, a helper that makes finding things in huge folders of files super quick, unlike slow regular searches.

2
📦 Get it set up

You download and place it on your computer easily with a trusted one-step installer for Mac, Linux, or Windows.

3
📁 Pick your folder

You point it at your big project folder full of text files, like a massive codebase.

4
Prepare the quick guide

It scans your files once to build a speedy lookup map stored right in your folder, ready in moments.

5
🔍 Search anything

You type in keywords, phrases, or patterns you need, and it shows exact matches with line numbers instantly.

6
📊 Check freshness

You peek at the guide's status to see if it's up to date with your latest changes.

🎉 Search like magic

Now every search in your giant project feels effortless and blazing fast, saving you hours of waiting.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 20 to 20 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is trigrep?

trigrep is a Rust-built, grep-like CLI for indexed regex search across large codebases and huge monorepos. It builds a local, on-disk trigram index in .trigrep/, so searches stay fast even as repos balloon—decomposing patterns to hit only candidate files before full regex scans. Run `trigrep index .` once, then `trigrep search "fn main"` for sub-50ms queries, with flags like -i for case-insensitivity or --json output.

Why is it gaining traction?

It crushes ripgrep by 1.58x and grep by 15x in benchmarks on git.git, keeping latency flat on massive trees via smart indexes—perfect for repeated searches without full scans. The dead-simple install via curl script, auto-indexing on first search, and status checks make it a drop-in for monorepos, echoing indexeddb github vibes but fully local and offline. Devs dig the grep-compatible output and stats on candidate pruning.

Who should use this?

Monorepo maintainers at scale-up teams slogging through millions of lines daily, AI coding agents needing instant regex hits, or backend engineers hunting TODOs/FIXMEs in sprawling Rust/Go/C++ bases. Skip if your repo fits in ripgrep's speed envelope; grab it for trigreppel 3 akkrum-style workflows on trigreppel 27 akkrum-large codebases.

Verdict

Promising early tool with solid docs, reproducible benchmarks, and cross-platform releases—worth indexing your monorepo today despite 20 stars and 1.0% credibility score signaling room to mature. Test on your codebase; if it delivers, it'll stick.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.