# hound-search/hound

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/hound-search-hound).**

5,846 stars · 600 forks · JavaScript · MIT

## Links

- GitHub: https://github.com/hound-search/hound
- awesome-repositories: https://awesome-repositories.com/repository/hound-search-hound.md

## Description

Hound is a self-hosted code search engine that indexes source code repositories and provides fast regular expression search results using a trigram-based index. It is designed to be deployed on your own infrastructure, enabling you to search across multiple public and private code repositories simultaneously.

The engine builds its search index by decomposing source code into three-character trigrams, which allows for fast substring matching with regular expressions. It supports searching across multiple repositories in parallel, returning results from the pre-built trigram index. Hound can index private repositories by authenticating via configured SSH keys or using local file paths, and it periodically polls configured repository URLs at a configurable interval to refresh the search index automatically.

The search index and repository metadata are stored directly on the local file system, eliminating the need for external database dependencies. The application is configured through a simple JSON file that specifies which repositories to index and how often to poll them for updates.

## Tags

### Data & Databases

- [Trigram Indexes](https://awesome-repositories.com/f/data-databases/index-construction/full-text-inverted-indexes/trigram-indexes.md) — Builds a search index by decomposing source code into three-character trigrams for fast substring matching with regular expressions.
- [Repository](https://awesome-repositories.com/f/data-databases/dictionary-indexes/index-refreshing/repository.md) — Pulls and re-indexes repository content at configurable intervals to keep search results current.
- [Polling Index Updaters](https://awesome-repositories.com/f/data-databases/repository-indexing-pipelines/polling-index-updaters.md) — Polls each configured repository URL at a configurable interval to keep the search index current. ([source](https://cdn.jsdelivr.net/gh/hound-search/hound@main/README.md))
- [Repository Polling Intervals](https://awesome-repositories.com/f/data-databases/search-index-management/refresh-interval-configurators/repository-polling-intervals.md) — Configures the frequency of repository re-indexing to balance freshness against system load.
- [Trigram-Based Indexing](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-and-indexing/trigram-based-indexing.md) — Uses a trigram index to provide fast code search across indexed repositories.
- [Repository Index Lookups](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-and-indexing/vector-search-indexes/parallel-index-lookups/repository-index-lookups.md) — Executes regular expression searches across multiple indexed repositories simultaneously by scanning their trigram indexes in parallel.
- [Multi-Repository Code Searches](https://awesome-repositories.com/f/data-databases/semantic-search/code-search/multi-repository-code-searches.md) — Searches multiple code repositories simultaneously using regular expressions from a pre-built trigram index.
- [Private](https://awesome-repositories.com/f/data-databases/repository-indexing-pipelines/source-code-indexing/private.md) — Indexes private source code by using local file paths or SSH-style URLs with configured SSH keys. ([source](https://cdn.jsdelivr.net/gh/hound-search/hound@main/README.md))

### Development Tools & Productivity

- [Code Pattern Searches](https://awesome-repositories.com/f/development-tools-productivity/regular-expression-search-and-replace/code-pattern-searches.md) — Finds code snippets across repositories using regular expression patterns with fast trigram-based indexing.
- [Polling-Based Synchronization](https://awesome-repositories.com/f/development-tools-productivity/remote-repository-synchronization/polling-based-synchronization.md) — Periodically fetches repository content from configured remote URLs to refresh the local search index without manual triggers.
- [Multi-Repository Code Content Searches](https://awesome-repositories.com/f/development-tools-productivity/repository-knowledge-search/multi-repository-code-content-searches.md) — Searches multiple code repositories simultaneously using regular expressions, returning results from a pre-built trigram index. ([source](https://cdn.jsdelivr.net/gh/hound-search/hound@main/README.md))
- [Code Content Searches](https://awesome-repositories.com/f/development-tools-productivity/repository-search-utilities/code-content-searches.md) — Searches multiple code repositories simultaneously using regular expressions to find matching code content.
- [Local File Indexers](https://awesome-repositories.com/f/development-tools-productivity/search-indexing-tools/local-file-indexers.md) — Stores the trigram index and repository metadata directly on disk for fast access without external databases.
- [Source Code Search Engines](https://awesome-repositories.com/f/development-tools-productivity/source-code-search-engines.md) — Indexes source code repositories and returns regex search results from a pre-built trigram index.

### DevOps & Infrastructure

- [Self-Hosted Search Services](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-search-services.md) — Deploys on your own infrastructure to search across private and public code repositories.

### Security & Cryptography

- [Repository Access Authentications](https://awesome-repositories.com/f/security-cryptography/private-key-import-formats/ssh-private-key-authentications/repository-access-authentications.md) — Authenticates to private repositories using configured SSH keys to index non-public source code.
- [Repository Indexing Access](https://awesome-repositories.com/f/security-cryptography/private-repository-access/repository-indexing-access.md) — Indexes private source code repositories using local file paths or SSH-style URLs with configured SSH keys.

### Part of an Awesome List

- [Developer Tools](https://awesome-repositories.com/f/awesome-lists/devtools/developer-tools.md) — Tool for building self-hosted code search services.
