Open source alternatives to ngrok
Updated 22:00 UTC.
Updated 22:00 UTC.
octelium/octelium is the most used open source alternative to ngrok, with 4.2k stars. There is no star history yet, so growth is not ranked. Data as of 5 Dec 2026.
These open source projects offer ways to expose local servers and route webhooks, with setup that ranges from easy to hard.
Most used: octelium/octelium, pgrok/pgrok, amalshaji/portr.
| Project | What it is | Setup | License | Maintenance |
|---|---|---|---|---|
| octelium/octelium | Self-hosted zero trust secure access platform | Hard | AGPL-3.0: Yes, with conditions | Active |
| pgrok/pgrok | Self-hosted tunnels with SSO and stable subdomains | Hard | MIT: Yes | Active |
| amalshaji/portr | Expose local HTTP, TCP, or WebSocket services publicly | Medium | AGPL-3.0: Yes, with conditions | Active |
| anderspitman/SirTunnel | Minimal self-hosted tunnel with automatic HTTPS | Medium | MIT: Yes | Slow |
| azimjohn/jprq | Expose local servers to the public internet | Easy | Active |