# PipeGate

> PipeGate is an open-source, self-hosted HTTP tunneling proxy that exposes local servers via WebSocket — a lightweight ngrok alternative with no cloud dependencies.

- **Category:** Networking
- **Licence:** MIT
- **Latest version:** 0.1.0
- **Open source:** oss
- **Languages:** Python
- **Platforms:** pip
- **Tags:** WebSocket, Reverse Proxy, Tunneling, Fastapi, JWT, Self Hosted, Ngrok alternative, Http tunnel

## Description

PipeGate is a lightweight HTTP tunneling proxy written in Python using FastAPI. It lets you make a local web server reachable from the internet by routing traffic through a single WebSocket link between a server on a public VPS and a client running beside your application. The WebSocket connection is secured with JWT tokens, while outside callers only need the connection identifier in the URL. Multiple simultaneous requests share one WebSocket by using correlation IDs to match responses. Binary data passes through via base64 encoding. If the WebSocket breaks, the client reconnects with exponential backoff. All coordination happens in memory using asyncio queues, so no database or Redis is needed. The tool is configured through environment variables and requires Python 3.12 or newer.

## Links

- [Homepage](https://github.com/janbjorge/pipegate)
- [GitHub Repository](https://github.com/janbjorge/pipegate)

---
Source: https://selfhost.directory/project/pipegate