Interactive Terminal UI
Add, edit, and remove domains from a keyboard-driven menu — no flags to memorize
Local Domain Manager ❯ Domains Proxy & Caddy Certificate Daemon
hostly is an interactive CLI that maps custom domains like app.local to your local dev servers — with trusted HTTPS, a reverse proxy, and a boot daemon. No GUI, no config files.
Run hostly and manage everything from one interactive menu
Add, edit, and remove domains from a keyboard-driven menu — no flags to memorize
Local Domain Manager ❯ Domains Proxy & Caddy Certificate Daemon
Caddy's local CA signs real certificates your browser accepts — no warnings
$ hostly # Certificate Local CA: Hostly Local CA ✓ installed into the system trust store
Route any custom domain to a local port via the Caddy admin API
✓ https://app.local → 127.0.0.1:3000 ✓ https://api.local → 127.0.0.1:8080
hostly sync restores your routes after a restart, run by launchd or systemd
$ hostly sync ✓ applied saved domains to Caddy runs at boot via launchd / systemd
Everything hostly does, it does from your shell.
Point app.local to 127.0.0.1:3000 and api.local to 127.0.0.1:8080. Routes are pushed to Caddy over its admin API.
Pick a scheme per domain. https auto-redirects from http, http stays plain, or serve both with no redirect.
hostly writes a fenced block to your hosts file and edits it via sudo only when needed. Your own entries are left untouched.
Install a launchd agent (macOS) or systemd user unit (Linux) that runs hostly sync on boot to restore Caddy routes.
Each domain shows ✓ synced or ⚠ drift so you can see at a glance whether the hosts file and Caddy match your registry.
Domains are stored as plain JSON in your OS config directory. Trust the local CA once and HTTPS works across every browser.
One command to install, one to run.
hostly is a Node CLI and uses Caddy as its reverse proxy. Install both and make sure caddy is on your PATH.
Launch the interactive menu, open Domains → Add domain, and enter a host, target port, and scheme. Trust the local CA once from the Certificate screen.
That's it. Visit https://app.local in any browser — valid certificate, no warnings, proxied to your local dev server. Install the boot daemon so routes survive a restart.
hostly is MIT licensed and built in the open. Found a bug or want a feature? Issues and pull requests are welcome on GitHub.