talira

Lightning fast code searching made easy

open sourceMITself-hostablefree

Hound is a fast, self-hosted source code search engine based on Russ Cox's trigram index for regular expression matching. A Go backend keeps an up-to-date index of each configured repository and answers regex searches through a small API, and a React web UI searches across them all. It indexes Git, Mercurial, SVN and Bazaar repositories and local directories, private repositories included, and runs from a single binary or the ghcr.io Docker image. Editor plugins exist for Sublime Text, Vim and Emacs. It was first released by Etsy.

Problems it solves

  • search code across all of my company's repositories with regex, self-hosted
  • a fast code search for many Git repos without paying for Sourcegraph
  • find every place a function is used across dozens of repositories
  • self-hosted grep across Mercurial, SVN and Git repositories

Features

  • regular expression search over a trigram index
  • indexes Git, Mercurial, SVN, Bazaar and local directories
  • private repositories
  • web UI and a minimal search API
  • Docker image on ghcr.io
  • Sublime Text, Vim and Emacs plugins

Capabilities

Has an APIplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what Hound does.

  1. livegrep Fast interactive regex search over large source code repositories
  2. Sourcegraph Code understanding for humans and agents
  3. Zoekt Fast trigram-based code search engine
  4. OpenGrok A fast and usable source code search and cross reference engine

Compare Hound with the top 3