The problem:
Ngrok/localtunnel give you random URLs that expire.
Paid tiers kick in fast if you want custom domains or longer sessions.
Cloudflare Tunnels are free but annoying to set up manually.
Moley fixes all of this with one simple command.
Perfect for:
API development
Hackathon demos
Webhook testing
Client presentations
Team collaboration
Key features:
Your own domain (no random subdomains)
Multiple apps on different ports
Configurable environments (--config production.yml)
Clean shutdown on Ctrl+C
Built on Cloudflare infra → fast, free, no limits
Setup (2 min):
brew install --cask stupside/tap/moley cloudflared tunnel login moley config set --cloudflare.token="your-token" Example config:
ingress: zone: "moley.dev" apps: - target: { port: 3000, hostname: "localhost" } expose: { subdomain: "api" } - target: { port: 8080, hostname: "localhost" } expose: { subdomain: "app" } Result → https://api.mycompany.com → localhost:3000 https://app.mycompany.com → localhost:8080