qmetrics.net

Livegrep

Interactive regex search over large source indexes

A web front end and indexing backend for fast regex search across gigabyte-scale code repositories, with optional in-browser file viewing.

Overview

Livegrep supports interactive regular-expression search across large source trees, with a design influenced by the idea of web-scale code search. A codesearch backend builds and serves an index; the livegrep frontend provides the search UI over HTTP and connects to that backend over the network.

Indexes can be built in memory from configured repositories or precomputed to disk so searches run without ongoing access to original git trees. A helper can fetch and index GitHub repositories automatically. The UI can show matching source files in-browser when index metadata includes local or URL patterns for files.

Regex matching uses Google’s RE2 engine with mostly PCRE-compatible syntax. Index files are often several times the size of the indexed text and are memory-mapped for performance; SSD storage helps when RAM cannot hold the full index.

You can run the stack locally with separate codesearch and livegrep processes, or use published container images with volume-mounted index data. A public demo instance exists for trying the interface before self-hosting.

Key features

  • Interactive regex code search at scale
  • Prebuilt on-disk index files
  • Separate codesearch gRPC backend
  • GitHub repository reindexing helper
  • In-browser source file viewer
  • RE2 regular expression engine
  • Docker-based deployment images
  • HTTP frontend on configurable port

Use cases

  • Searching multi-gigabyte internal codebases
  • Exploring indexed open-source mirrors
  • Regex audits across many repositories
  • Hosting private code search internally
  • Viewing hits without leaving the search UI

Similar software

Zoekt

Fast trigram-based source code search engine

Zoekt indexes repositories for substring and regexp code search with boolean queries. Use CLI tools locally or pair indexserver with webserver for remote repos and APIs.

★ 2.1k⟳ yesterdayApache-2.0

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

★ 480.8k⟳ todayMIT

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

TypeScript

Typed JavaScript language with compile-time checks

TypeScript adds optional static types to JavaScript and compiles to standard JavaScript. It targets application-scale code on browsers, Node.js, and other JavaScript runtimes.

★ 111.9k⟳ yesterdayApache-2.0

Ghidra

NSA software reverse engineering and disassembly analysis suite

Ghidra is an NSA Research Directorate SRE framework with disassembly, decompilation, graphing, and scripting for analyzing compiled code on Windows, macOS, and Linux.

★ 101.5k⟳ yesterdayApache-2.0

Understand Anything

Interactive codebase knowledge graph for AI assistants

A multi-platform plugin that scans a project, builds a knowledge graph of structure and dependencies, and opens a searchable web dashboard. It supports domain views, guided tours, and diff impact analysis.

★ 94.7k⟳ 3 days agoMIT