Show HN: PipeGate – A Lightweight, Self-Hosted Proxy to Expose Local Servers

by jeeybeeon 12/17/2024, 6:09 PMwith 11 comments

Hi Hacker News,

I’d like to introduce PipeGate, a lightweight, self-hosted proxy built with FastAPI. I created PipeGate as a fun little exercise to understand how tunneling services work under the hood. PipeGate allows you to expose your local servers to the internet, giving you full control over your setup.

by aerioseon 12/17/2024, 7:23 PM

Huge caveat to hosting this server publicly is the codebase will accept any websocket connection to the /{connection_id} route. The author gives a small warning about implementing authentication in the README, but it essentially makes the project extremely dangerous to deploy as any person can use your domain to host their content.

by themgton 12/17/2024, 7:02 PM

For me the ngrok killer feature I've never seen elsewhere is a simple embedded webserver with log/inspector for requests + the ability to replay them. Wish Apache or CNCF would fork ngrok v1 and put it on life support.

by burembaon 12/17/2024, 7:37 PM

Cool use of WebSockets! Have you tried deploying it to AWS Lambda? I would like to have something similar on AWS, but SSL support and scale-to-zero are hard and tricky with EC2 Load Balancer and ECS.