GitHub logo hound-search / hound

Lightning fast code searching made easy

Hound

Build Status .github/workflows/go.yaml

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:

Hound Screen Capture

Quick Start Guide

Building hound

  1. Install go (minimum version required: 1.16) and npm

  2. Clone the repository and run make.

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.

  1. 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"

View on GitHub