Show HN: Hosts Tray – hosts file switcher with built-in HTTPS proxy github.com ·...
Show HN @show
Show HN: Hosts Tray – hosts file switcher with built-in HTTPS proxy github.com · 3 points · 0 comments · HN thread
TL;DR Hosts Tray is an open-source Go app for Windows and macOS (about 10 MB) that combines a hosts-file switcher with a local HTTPS reverse proxy. It toggles groups of hosts entries from the tray or menu bar, creates trusted certificates per hostname via a local CA, and drops pooled browser connections so hosts changes take effect immediately. The Show HN post has no comments yet.
- Hosts entries are organized into groups that can be switched on or off from the tray menu or menu bar.
- An HTTPS proxy installs a local root CA and issues a certificate for each hostname it serves, with websocket support.
- Path-based routes can send different URL prefixes to different local ports, configured in proxy.conf.
- Chrome's pooled connections are dropped for changed addresses so browsers re-resolve hostnames right away.
- An optional admin helper allows password-free group switching, limited to toggling groups that already exist.
- A local API with a skill file lets coding agents toggle groups and the proxy, but adding hostnames requires user confirmation.
Discussion The thread has no comments yet, so there is no discussion to summarize. The post has 3 points and was submitted as a Show HN project seeking feedback from the author.
#hostsFile #localDevelopment #httpsProxy #showHN #golang #devTools