Self-host hound
v0.7.1Fast trigram-index regex code search across many repos
docker run -d -p 6080:6080 --name hound -v $(pwd):/data ghcr.io/hound-search/hound:latest- Stars
- 5 894
- Port
- 6080 (HTTP port serving the web UI and search API)
ghcr.io/hound-search/houndWhat is hound?
Hound lets a team search the source of many repositories almost instantly. Its Go backend maintains a live index per repository and answers queries through a small API, while the browser frontend is a static React app; matching is regular-expression based and leans on Russ Cox's trigram-index technique for speed.
Configuration lives in one JSON file that lists each repository by URL. Git is the default, and Mercurial, SVN, Bazaar and a local-directory driver are also understood. Private code can be covered through local folders, file:// clones or SSH URLs, and the running server re-polls every repository at a 30-second interval unless you change or disable that per repo. Other knobs set indexer concurrency, skip dot files, label generated files, customise the links shown beside results, and expose a health-check path. There is no built-in HTTPS, so deployments normally sit behind Apache or nginx.
For running it yourself there is a published container image that you start with your config directory mounted in, or you can build the two binaries with make, which needs Go and npm; no database or other service is required. Official support covers macOS and CentOS, Windows is untested, and releases remain pre-1.0.
hound alternatives
houndarrA self-hosted search companion for the *arr ecosystem that quietly works through backlogs of missing and upgrade-eligible media using small, polite batches.Comparehoundarr with hound
OneSearchSelf-hosted search engine for homelabs that indexes local files and provides quick full-text search from a browser. Runs in Docker with no cloud or telemetry.CompareOneSearch with hound
ZincSearchSelf-hosted, open-source full-text search engine written in Go; a lightweight Elasticsearch alternative with an embedded web UI, ES-compatible APIs and a single binary.CompareZincSearch with hound
code-indexcix (CodeIndeX) is a self-hosted semantic code search platform using BM25 and embeddings via llama.cpp. Runs as a Go server with dashboard, CLI, and agent integrations.Comparecode-index with hound
GogsA lightweight, open-source, self-hosted Git service written in Go: repos, issues, pull requests, wikis and LDAP login, run from one binary or a Docker image.CompareGogs with hound
degoogSearch engine aggregator with a comprehensive plugin/extension systemComparedegoog with hound
openchangelogOpenchangelog transforms Markdown changelogs into a beautiful website with search, password protection, themes, RSS, and GitHub/GitLab/Forgejo/local integrations.Compareopenchangelog with hound
searchmysite.netsearchmysite.net is a self-hosted, open-source search engine for personal sites. It indexes vetted sites, boosts ad-free content, and offers a privacy-first alternative.Comparesearchmysite.net with hound
Should you self-host hound?
hound scores 62/100 on selfhost.directory (how scoring works) and ranks #40 of 167 in Developer Tools. It has 5 894 GitHub stars, +11 in the last 30 days.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in JavaScript.
Its closest alternative on selfhost.directory is openhands (87/100, 93 148 stars). It scores higher overall, so compare the two before you pick. See hound vs openhands side by side.
Features
- Automatic repository updates
- Health check endpoint
- Index tuning
- Multiple version control systems
- Multi-repository indexing
- No built-in TLSRun behind a reverse proxy for HTTPS.
- Private repository indexing
- Regular expression code search
- Search API
- Search result link customization
- Web search UI
hound README
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:
More in Developer Tools
ht-mcpRust MCP server for headless terminal sessions. Self-hosted, open-source, single binary with no external dependencies. Integrates with Memex and Claude Code.
HTML共有くんHTML共有くん is a self-hosted, open-source dashboard that collects AI-generated HTML pages and makes them mobile-readable, deployed to your own AWS account.
httpbinSelf-hosted, open-source HTTP request & response service for testing clients: inspect requests, emit status codes, cookies, redirects and formats.
httplaceholderHttPlaceholder is a self-hosted, open-source HTTP stub server for mocking web services with YAML stubs, REST API, web UI, and multiple storage backends.
hubgrep_searchHubGrep is a self-hosted, open-source search engine that queries multiple code-hosting platforms simultaneously, treating all services equally.
hyvor-relaySelf-hosted, open-source email API replacing SES, Mailgun, SendGrid with full infrastructure control, SMTP delivery, webhooks, multi-tenancy, and DNS automation.
iClawSelf-hosted AI workspace with ChatGPT-style UI for OpenClaw, isolated projects, Docker sandboxing, and encrypted chat sharing.
ifconfig.ioSelf-hosted, open-source what-is-my-IP service written in Go: curl endpoints return your IP, reverse DNS, port and headers as text, JSON or XML, built for raw speed.
imagorA self-hosted, open-source HTTP image server built on libvips that resizes, crops, filters and converts on demand, speaking thumbor URL syntax as a drop-in replacement.
IM.codesSelf-hosted open-source messaging and control layer for AI coding agents providing shared memory, remote desktop, supervised execution, and cross-provider audit.
ImgCompressSelf-hosted Docker app for compressing, converting, and cropping 70+ image formats with local AI background removal — zero cloud uploads.
imgproxySelf-hosted, open-source image processing server that resizes, crops, filters and converts images on the fly through signed URLs, running behind your CDN.


0 comments