DEV Community

loading...

Lightning-fast code searching with Hound

Alexander Alemayhu
My name is Alexander and I am a web developer by day. During the night I am an open-source developer on a mission to build helpful tools to help people in their learning journeys.
・1 min read

GitHub logo hound-search / hound

Lightning fast code searching made easy

Hound

Build Status .github/workflows/go.yaml

⚠️ Hound's default branch name has changed! ⚠️

We renamed our default branch from master to main on February 24, 2021. We used Github's branch renaming feature, which means that any open pull requests should be automatically re-targeted, and web requests pointing to code on the master branch should redirect as expected. This change should mostly be invisible, but you will need to update any code that explicitly relies on the existence of Hound's master branch.

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. Install Go

Discussion (0)