136 karma · joined July 2, 2025
Moley is the easiest way to share your local development services using Cloudflare Tunnels and your own custom domains. Moley automates everything for you, so you can focus on building, not configuring.
Why Choose Moley? Zero Infra: No reverse proxies, load balancers, or additional services needed Instant Setup: Get your local app online in minutes with a single command Custom Domains: Use your own domain names for a professional presentation Secure by Default: Uses Cloudflare's enterprise-grade security and DDoS protection Automatic Recovery: Robust state management with crash recovery and cleanup
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
Moley is the easiest way to share your local development services using Cloudflare Tunnels and your own custom domains. Forget about reverse proxies, manual DNS, or complex infrastructure—Moley automates everything for you, so you can focus on building, not configuring.