Fast interactive regex search over large source code repositories
open sourceBSD-2-Clause-Viewsself-hostablefree
livegrep is a self-hosted tool for interactive regular expression search over gigabyte-scale source code, partly inspired by Google Code Search. A codesearch backend builds an index of your repositories, in memory or saved to a file, and answers searches over gRPC; the stateless livegrep web frontend shows results as you type and can show source files itself. A helper, livegrep-github-reindex, clones and indexes chosen GitHub repositories. The public instance at livegrep.com runs it over the Linux kernel and other projects.
Problems it solves
- I want to grep across all of my company's repositories from a web page
- Searching a huge codebase with grep is too slow
- I need a self-hosted code search that supports regular expressions
Features
- Interactive regex search as you type
- Indexes saved to standalone files
- Index larger than RAM via on-disk index files
- Built-in source file viewer
- GitHub repository indexer
- Docker images built on every merge
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what livegrep does.
- Hound Lightning fast code searching made easy
- OpenGrok A fast and usable source code search and cross reference engine
- Sourcegraph Code understanding for humans and agents
- Zoekt Fast trigram-based code search engine