qmetrics.net
NPortFree Cloudflare-based localhost tunnel CLI with custom subdomains PortrSelf-hosted HTTP, TCP and WebSocket tunnels for teams

NPort vs Portr

How NPort and Portr compare on popularity, activity, license and platforms: two open-source Networking & Connectivity projects, both alternatives to ngrok.

At a glance

Side by side

NPortPortr
GitHub stars★ 776★ 3,195
Forks136115
Last commit3 months ago26 days ago
Latest versionv2.1.6v2.1.0
Repository startedDecember 2024November 2023
LicenseMIT · permissiveAGPL-3.0 · copyleft
Self-hostedDesktop/CLI appYes
PlatformsCLI, Linux, macOS, WindowsCLI, Docker
Main languageTypeScriptGo
Alternative tongrokngrok

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 and SSE support
  • Optional self-hosted backend configuration
  • Automatic tunnel and DNS cleanup on exit

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

More comparisons

Report a mistake on this page