- Home
- Code Search Tools
- Livegrep
On the recordRead 10 Oct 202620 facts
Livegrep
On the record
- Architecture
- The backend index and search process is written in C++ and the web frontend is implemented in Go.livegrep.com · read 10 Oct 2026
- Build requirements
- The project builds with Bazel and requires a relatively recent C++ compiler; the initial build downloads around 100 MB of dependencies.github.com · read 10 Oct 2026
- Deployment
- The project documents Docker images and example commands for running its indexer, backend, and web frontend.github.com · read 10 Oct 2026
- Docker
- Livegrep's CI builds Docker images on every merge to main, and the repository documents running its indexer, backend, and frontend in containers.github.com · read 4 Oct 2026
- File browsing
- Livegrep can display source files directly in its interface when configured with local source paths.github.com · read 10 Oct 2026
- GitHub integration
- A helper called livegrep-github-reindex can automatically update and index selected GitHub repositories.github.com · read 10 Oct 2026
- Index files
- The backend can save and reuse standalone index files, including indexes too large to fit in RAM.github.com · read 4 Oct 2026
- Indexing
- Codesearch can build an in-memory index or save an index file that can be reused for later runs.github.com · read 10 Oct 2026
- Intended users
- The project describes itself as a tool for interactively searching source code, including large repositories.github.com · read 4 Oct 2026
- Local deployment
- By default, the frontend connects to a local codesearch instance on port 9999 and serves HTTP on port 8910.github.com · read 4 Oct 2026
- Maker
- Livegrep is written and run by Nelson Elhage.livegrep.com · read 10 Oct 2026
- Open source
- Livegrep is open source and is written and run by Nelson Elhage.livegrep.com · read 4 Oct 2026
- Purpose
- Livegrep is an open-source tool for interactive regex search of source repositories around gigabyte scale.github.com · read 10 Oct 2026
- Regex engine
- Livegrep uses RE2 and inherits its supported syntax.github.com · read 10 Oct 2026
- Repository access
- After an index is built, Livegrep works from that index without further access to the original Git repositories.github.com · read 10 Oct 2026
- Repository browser
- Livegrep can display source files directly in its interface when configured with local source paths.github.com · read 4 Oct 2026
- Resource requirements
- An index is usually 3–5 times the size of indexed text; memory-mapping allows indexes larger than available RAM, while faster SSDs are recommended for performance.github.com · read 10 Oct 2026
- Search syntax
- The web search supports regular expressions and special terms including path:, repo:, and max_matches:.livegrep.com · read 10 Oct 2026