NPortFree Cloudflare-based localhost tunnel CLI with custom subdomains
frp vs NPort
How frp and NPort compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.
At a glance
- frp has more GitHub stars (111k vs 778, about 143× as many).
- Both are actively maintained (last commits 2 days ago and today).
- frp uses Apache-2.0; NPort uses MIT (both permissive).
- frp can be self-hosted.
- frp is the older project (repository started 2015; NPort in 2024).
Side by side
| frp | NPort | |
|---|---|---|
| GitHub stars | ★ 111,005 +213 in 9 days | ★ 778 +3 in 9 days |
| Forks | 15,346 | 136 |
| Last commit | 2 days ago | today |
| Latest version | v0.72.0 | v2.2.0 |
| Repository started | December 2015 | December 2024 |
| License | Apache-2.0 · permissive | MIT · permissive |
| Self-hosted | Yes | Desktop/CLI app |
| Platforms | – | Linux, macOS, Windows, CLI |
| Main language | Go | Rust |
| Alternative to | Cloudflare Tunnel, ngrok, Tailscale Funnel | ngrok |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
frp
frp pairs a public-facing frps server with frpc clients to expose TCP, UDP, HTTP, and HTTPS services behind NAT or firewalls, including P2P connect mode.
Key features
- TCP UDP HTTP HTTPS tunneling
- frps and frpc server-client model
- Custom domain HTTP publishing
- STCP and xtcp access modes
- Token and OIDC authentication
- Server and client dashboards
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