hostcPublic HTTPS tunnel for local dev with hot reload
hostc vs Portr
How hostc and Portr compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.
At a glance
- Portr has more GitHub stars (3.2k vs 642, about 5× as many).
- hostc was updated more recently (last commit today, Portr 26 days ago).
- hostc uses Apache-2.0 (permissive); Portr uses AGPL-3.0 (copyleft).
- Portr can be self-hosted; hostc is not listed as self-hostable.
- Portr is the older project (repository started 2023; hostc in 2026).
Side by side
| hostc | Portr | |
|---|---|---|
| GitHub stars | ★ 642 | ★ 3,195 |
| Forks | 71 | 115 |
| Last commit | today | 26 days ago |
| Latest version | v2.2.0 | v2.1.0 |
| Repository started | April 2026 | November 2023 |
| License | Apache-2.0 · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | CLI | CLI, Docker |
| Main language | TypeScript | Go |
| Alternative to | ngrok | ngrok |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 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
Portr
Portr exposes local HTTP, TCP, and WebSocket services on public URLs through a tunnel server you control, with a local inspector, request replay, SQLite logs, and team access.
Key features
- HTTP, TCP and WebSocket tunnels
- Local request inspector
- Request replay from logs
- CLI access to stored requests
- Docker Compose tunnel labels
- Reserved subdomains