The best alternatives to Surge for Mac are Sniffnet, Ray, and RegViz. If these 3 options don't work for you, we've listed a few more alternatives below.
Sniffnet is a powerful yet intuitive network monitoring tool, providing a polished dashboard of your Internet traffic.
Sniffnet is cross-platform, completely free, and open-source — available for everyone to use without restrictions.
Ray is a beautiful desktop app to fix problems faster in PHP and JavaScript projects. Free demo: check https://myray.app/ 30% discount on Ray: https://spatie.be/products/ray?referrer=product%20hunt
With code-ray you can fix bugs in your code faster and easier. You can set breakpoints to show the live state in different sections of your code. code-ray can be linked to GitHub, GitLab and Bitbucket. There is a permanently free version.
Capture, inspect, analyze, manipulate and mock all the HTTP, HTTPS and WebSocket traffic between your computer and the internet. Don't wait for the backend to be ready, generate custom API responses and start working on your application straightaway locally!