NPortFree Cloudflare-based localhost tunnel CLI with custom subdomains
PortalOpen-source localhost tunnel with self-hostable trustless relays
NPort vs Portal
How NPort and Portal 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 305, about 3× as many).
- Portal was updated more recently (last commit 2 days ago, NPort 3 months ago).
- Both use the MIT license.
Side by side
| NPort | Portal | |
|---|---|---|
| GitHub stars | ★ 776 | ★ 305 |
| Forks | 136 | 32 |
| Last commit | 3 months ago | 2 days ago |
| Latest version | v2.1.6 | v2.8.0 |
| Repository started | December 2024 | October 2025 |
| License | MIT · permissive | MIT · permissive |
| Self-hosted | Desktop/CLI app | Desktop/CLI app |
| Platforms | Linux, macOS, Windows, CLI | Linux, macOS, Windows, Docker, CLI |
| 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.
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 support
- Optional self-hosted backend configuration
- Automatic tunnel and DNS cleanup on exit
Portal
Portal publishes local apps and APIs through public or self-hosted relays without accounts, using local cryptographic identity, optional client-side TLS, multi-relay failover, and IVNP overlay routing.
Key features
- Public or self-hosted relays
- Client-side tenant TLS
- No accounts or API keys
- Multi-relay failover pools
- MITM self-probe on relays
- IVNP overlay routing option