hostcPublic HTTPS tunnel for local dev with hot reload
Selfhosted GatewaySelf-hosted Docker tunnel to expose local services
hostc vs Selfhosted Gateway
How hostc and Selfhosted Gateway compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to Cloudflare Tunnel.
At a glance
- Selfhosted Gateway has had no code changes for over 18 months; hostc is actively maintained.
- Selfhosted Gateway has more GitHub stars (1.7k vs 642, about 3× as many).
- hostc was updated more recently (last commit 7 days ago, Selfhosted Gateway 1 year ago).
- hostc uses Apache-2.0 (permissive); Selfhosted Gateway uses AGPL-3.0 (copyleft).
- Selfhosted Gateway can be self-hosted.
- Selfhosted Gateway is the older project (repository started 2022; hostc in 2026).
Side by side
| hostc | Selfhosted Gateway | |
|---|---|---|
| GitHub stars | ★ 642 -2 in 9 days | ★ 1,742 |
| Forks | 71 | 87 |
| Last commit | 7 days ago | 1 year ago |
| Latest version | v2.2.0 | – |
| Repository started | April 2026 | September 2022 |
| License | Apache-2.0 · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | CLI | Docker, Linux |
| Main language | TypeScript | Shell |
| Alternative to | Cloudflare Tunnel, ngrok | Cloudflare Tunnel, Tailscale Funnel |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
hostc
hostc exposes a local dev server through a public HTTPS URL with one npx command. WebSockets and hot reload pass through without signup, aimed at sharing work-in-progress safely.
Key features
- One-command public HTTPS tunnel
- WebSocket and HMR passthrough
- No account or auth token
- Request logging in the terminal
- QR code option for phone testing
- Automatic reconnect within time window
Selfhosted Gateway
Self-hosted Gateway links local Docker Compose apps to the public internet through WireGuard, Caddy, and nginx on a VPS you control.
Key features
- Docker Compose link snippets
- WireGuard RPoVPN tunnels
- Automatic HTTPS via Caddy
- nginx gateway reverse proxy
- Proxy protocol client IPs
- Optional basic authentication