ngrok is my most favourite utility for web app development.
It helps a lot especially when you're developing serverless apps or apps that talk to other entities in the internet. All you gotta do is setup a local server and hook ngrok to your app and see how it works in the cloud.
I'll consider it to be one of the most underrated tools used today.
In case you don't want to use a third party services, you can achieve (almost) similar setup with ssh reverse tunnel and tools like tcpproxy or caddy. I shared about it here - dev.to/k4ml/poor-man-ngrok-with-tc....
One thing missing is the request inspection, which I'm still thinking how to get it with existing tools, without having me to code the features myself ;)
It’s not just for development. I once used it to play a game with a friend without setting up an online server. He had next to no lag whatsoever.
Take a look at serveo.net ;)
Oooh, also looks awesome!
Yup it's really helpful for development mode. We test our APIs like this before passing it on for QA.
I wonder how ngrok is compared to localtunnel.
Local Tunnel works fine for me. It's an npm package and offers JS/Go API for automation.
There is one missing feature though. I can't change the local port number w/o creating another tunnel.
Interesting, I will give a try. I am actually searching for a way to do https locally in a clean way.
Such a great tool. Love it. Thanks for the post. Looking forward to your next post!
Thank you! :)
Definitely need to try this at some point! 😊
Nice! Hadn't heard of ngrok before. Def. sounds useful for the reasons you mentioned 👌
As a security professional, ngrok horrifies me.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.