guumaster/hostctl
Your dev tool to manage /etc/hosts like a pro! observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2363
- days_rel: n/a
- days_push: 950
- n_releases_24m: 0
Adoption not part of the score
1236 stars · 53 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
hostctl is a Go CLI tool for managing the /etc/hosts file with named profiles that can be enabled, disabled, and version-controlled. It also supports syncing host entries with Docker and Docker Compose containers.
Use cases
- manage /etc/hosts entries from the command line
- enable and disable groups of hostnames per project
- keep hosts file profiles in git
- sync local hostnames with docker compose containers
- switch localhost environments for local development
- automate hosts file editing instead of manual edits
When to choose
- you frequently toggle hostname mappings for local development
- you want hosts file changes tracked in version control
- you develop with Docker containers needing predictable local hostnames
When to avoid
- you need full DNS server functionality rather than hosts file editing
- you cannot obtain sudo/administrator privileges on the machine
- you need dynamic service discovery instead of static hostname mappings
Facets
cli-tool · maturity stable
cli developer-tools networking configuration-management developer-tools networking windows cli go hosts-file etc-hosts dns localhost docker profiles command-line automation linux macos
2 sources
- readme: https://github.com/guumaster/hostctl · fetched 2026-08-28 · 80ab62eaa8cc
- homepage: http://guumaster.github.io/hostctl · fetched 2026-08-29 · 62ee2e96be54
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| guumaster/hostctl | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="guumaster/hostctl")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem