hostcPublic HTTPS tunnel for local dev with hot reload
NPortFree Cloudflare-based localhost tunnel CLI with custom subdomains
hostc vs NPort
How hostc and NPort compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.
At a glance
- NPort has more GitHub stars (776 vs 642).
- hostc was updated more recently (last commit today, NPort 3 months ago).
- hostc uses Apache-2.0; NPort uses MIT (both permissive).
- NPort is the older project (repository started 2024; hostc in 2026).
Side by side
| hostc | NPort | |
|---|---|---|
| GitHub stars | ★ 642 | ★ 776 |
| Forks | 71 | 136 |
| Last commit | today | 3 months ago |
| Latest version | v2.2.0 | v2.1.6 |
| Repository started | April 2026 | December 2024 |
| License | Apache-2.0 · permissive | MIT · permissive |
| Self-hosted | Desktop/CLI app | Desktop/CLI app |
| Platforms | CLI | CLI, Linux, macOS, Windows |
| Main language | TypeScript | TypeScript |
| 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
NPort
NPort exposes local HTTP or HTTPS ports through Cloudflare with one npm command, automatic TLS and optional custom subdomains.
Key features
- One-command localhost exposure via npm
- Custom subdomains on the shared nport.link domain
- Automatic HTTPS through Cloudflare
- WebSocket and SSE support
- Optional self-hosted backend configuration
- Automatic tunnel and DNS cleanup on exit