https://github.com/cmdlinezero/clz-lhd
Run multiple ports on a local host without losing your sanity.
https://github.com/cmdlinezero/clz-lhd
Last synced: about 1 month ago
JSON representation
Run multiple ports on a local host without losing your sanity.
- Host: GitHub
- URL: https://github.com/cmdlinezero/clz-lhd
- Owner: cmdlinezero
- Created: 2026-03-22T14:56:34.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-04-25T22:59:32.000Z (about 2 months ago)
- Last Synced: 2026-04-26T00:33:56.311Z (about 2 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CLZ Local Host Development (LHD)


[](/LICENSE)


A simple tool to help developers who need to map to multiple ports on their local host.
## Getting Started
---
1. Port map 8080 to app.localhost
```bash
./clz-lhd route -r app.localhost=8080
```
> Open your browser and visit http://app.localhost to view localhost:8080
## Usage
---
```
clz-lhd is a CLI tool designed to simplify local host development (LHD) by
mapping custom local domains (like api.localhost) to specific internal ports,
complete with built-in Prometheus metrics and an admin dashboard.
Usage:
clz-lhd [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
dash Start proxy with Web UI dashboard
help Help about any command
route Start the proxy with host mappings
Flags:
-h, --help help for clz-lhd
-p, --port string The port the proxy listens on (default "80")
Use "clz-lhd [command] --help" for more information about a command.
```
(c) 2026 [cmdlinezero](https://cmdlinezero.dev)