Quick Start¶
Installation¶
Install with Go:
Or build from source:
Create Configuration¶
Create a prox.yaml in your project directory:
Start Processes¶
Start all processes:
You'll see aggregated logs from all processes with color-coded prefixes.
Check Status¶
In another terminal, check process status:
Output:
NAME STATUS PID UPTIME RESTARTS HEALTH
web running 12345 5m30s 0 unknown
api running 12346 5m30s 0 healthy
worker running 12347 5m30s 1 unknown
View Logs¶
View recent logs:
Stream logs continuously:
Filter logs by process:
Interactive TUI¶
Start with the interactive terminal UI:
Note: The --tui flag works in foreground mode only and is mutually exclusive with --detach. For background + TUI workflow, use prox up -d then prox attach.
The TUI provides:
- Real-time log viewing with scrollback
- Process filtering with number keys (1-9)
- Search with
/and filter withs - Process restart with
r - Press
?for help,qto quit
Background Mode¶
Run prox as a background daemon:
# Start in background
prox up -d
# Check status
prox status
# View logs
prox logs -f
# Attach TUI to running daemon
prox attach
# Stop the daemon
prox down
Background mode features:
- Processes continue running after terminal closes
- Multiple prox instances can run (different projects, different ports)
- CLI commands auto-discover the running daemon
- Daemon logs are written to
.prox/prox.log
Proxy (Optional)¶
prox can provide friendly subdomain URLs for your services via HTTP and/or HTTPS reverse proxying.
HTTP Proxy (simplest)¶
No certificate or DNS setup required when using lvh.me (resolves to 127.0.0.1 automatically):
processes:
frontend: npm run dev
backend: go run ./cmd/server
proxy:
http_port: 6788
domain: lvh.me
services:
app: 3000
api: 8000
HTTPS Proxy¶
For locally-trusted HTTPS, install mkcert first:
Then configure HTTPS:
processes:
frontend: npm run dev
backend: go run ./cmd/server
proxy:
https_port: 6789
domain: lvh.me
services:
app: 3000
api: 8000
Usage¶
Start prox:
Access your services:
http://app.lvh.me:6788→http://localhost:3000(HTTP mode)https://app.lvh.me:6789→http://localhost:3000(HTTPS mode)
See the Local DNS & Certificates guide for custom domains, certificate management, and sharing CAs across machines. See the Configuration Reference for full proxy options.
HTTP API¶
The API runs at http://127.0.0.1:5555/api/v1 by default.
Check supervisor status:
List processes:
See the API Reference for all endpoints.