🔥
HotRepo
portr — Self-host Expose local http, tcp or websocket connections to the public internet
📦
amalshaji

portr — Self-host Expose local http, tcp or websocket connections to the public internet

Expose local http, tcp or websocket connections to the public internet

3.1k🍴 110Go📜 agpl-3.0🐳 Docker Compose#cli#developer-tools#golang#http

portr

Expose local http, tcp or websocket connections to the public internet

3,129 stars on GitHub · 🍴 110 forks · 📜 License: agpl-3.0 · 💻 Language: TypeScript

What is portr?

A standout opensource self-host project on GitHub — host on your own server for full control over your data and costs.

Main components

  • 🎉 Expose local HTTP, TCP, and WebSocket services on public URLs.
  • 🚨 Built-in local inspector on http://localhost:7777 for request inspection, replay, and WebSocket session debugging. Watch video.
  • 🤖 Agent-friendly local request logs with portr logs, backed by ~/.portr/db.sqlite.
  • 👾 Admin dashboard for team, user, and connection management. Watch video.

The biggest strength is active opensource community — fast bug fixes, regular features, no abandonment risk.

Best for self-host enthusiasts wanting to try a strong-community opensource project.

Topics: the project is tagged with popular topics:

  • 🏷️ cli
  • 🏷️ developer-tools
  • 🏷️ golang
  • 🏷️ http
  • 🏷️ ngrok-alternative
  • 🏷️ ngrok-replacement
  • 🏷️ open-source
  • 🏷️ python
  • 🏷️ reverse-tunnel
  • 🏷️ self-hosted

Quick install

The project supports Docker Compose:

git clone https://github.com/amalshaji/portr.git
cd portr
docker compose up -d

Check the README in the repo for required env variables.

Minimum system requirements

Component Recommended
RAM 1024 MB
CPU 1 vCPU
Disk 15 GB SSD
OS Ubuntu 22.04 LTS / Debian 12
Docker 24.0+

⚡ Deploy fast on VSIS

Use the VSIS VPS Mini 1GB RAM / 1 vCPU / 15GB SSD (~70k/tháng) plan from VSIS.NET — high-speed VN-based VPS, 24/7 support, ideal for running portr smoothly.

🎯 Benefits:

  • One-command docker compose up -d deploy in 2 minutes
  • Dedicated IPv4, root access, unmetered domestic bandwidth
  • Daily snapshot backup
  • Free install assistance from the VSIS team

👉 See matching VPS plans at vsis.net

Resources


Article compiled from GitHub data on 05/05/2026. Star/fork counts may have changed — see live numbers via the GitHub link.