loading...

Lightning-fast code searching with Hound

scanf profile image Alexander Alemayhu ・1 min read

GitHub logo hound-search / hound

Lightning fast code searching made easy

Hound

Build Status

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

Using Go Tools

  1. Use the Go tools to install Hound. The binaries houndd (server) and hound (cli) will be installed in your $GOPATH.
go get github.com/hound-search/hound/cmds/
  1. Create a config.json in a directory with your list of repositories.

  2. Run the Hound server with houndd and 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+)

  1. Create a config.json in a directory with…

Discussion

markdown guide