From time to time you'll want to share your locally running app with some folks before it's ready to ship.
Features
🤑 Free to use
💎 Not heavily rate limited
🔒 HTTPS support
🌎 Won't expose your IP
First make sure you have cloudflared
installed and setup. You can check out the cloudflared docs for setup instructions.
Now we can create our first tunnel by running the following command.
cloudflared tunnel create mycoolapp
Create a custom subdomain entry with ease just by running this command.
cloudflared tunnel route dns mycoolapp demo.boult.me
Once your app is running you can expose it via the tunnel.
cloudflared tunnel --url http://localhost:8080 run mycoolapp
Now you or a friend can visit the subdomain setup in one of the prior steps.
That's kind of cool. I'm using a dynamic dns service and a handful of open ports right now to do the same basic thing. Cloudflare Tunnel sounds like a sounder (and cheaper) alternative. :)