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
Using Go Tools
- Use the Go tools to install Hound. The binaries
hound(cli) will be installed in your $GOPATH.
go get github.com/hound-search/hound/cmds/
Create a config.json in a directory with your list of repositories.
Run the Hound server with
hounddand you should see output similar to:
2015/03/13 09:07:42 Searcher started for statsd 2015/03/13 09:07:42 Searcher started for Hound 2015/03/13 09:07:42 All indexes built 2015/03/13 09:07:42 running server at http://localhost:6080
Using Docker (1.4+)
Create a config.json in a directory with…