Hound
Hound is an extremely fast source code search engine. The core is based on this article (and code) from Russ Cox Regular Expression Matching with a Trigram Index. Hound itself is a static React frontend that talks to a Go backend. The backend keeps an up-to-date index for each repository and answers searches through a minimal API. Here it is in action:
Quick Start Guide
Building hound
git clone https://github.com/hound-search/hound.git
cd hound
make
The resulting binaries (hound, houndd) can be found in the .build/bin/ directory.
- Create a config.json file and use it to list your repositories. Check out our example-config.json to see how to set up various types of repositories. For example, we can configure Hound to search its own source code using the config found in default-config.json:
{
"dbpath"…