DEV Community

Cover image for Portr: open-source self-hosted tunnel designed for teams
Amal Shaji
Amal Shaji

Posted on

Portr: open-source self-hosted tunnel designed for teams

Portr is an open-source, self-hosted tunnel designed for teams. It lets you expose your local http/tcp connections to the public internet. It uses SSH remote port forwarding under the hood to tunnel connections.

GitHub logo amalshaji / portr

Expose local http/tcp connections to the public internet


GitHub License GitHub Release Documentation

Portr is a tunnel solution that allows you to expose local HTTP and TCP connections to the public internet. It utilizes SSH remote port forwarding under the hood to securely tunnel connections.

Portr is primarily designed for small teams looking to expose development servers on a public URL. It is not recommended for use alongside production servers.

Warning

Portr is currently in beta. Expect bugs and anticipate breaking changes.

Features

  • 🎉 Easily tunnel HTTP and TCP connections.
  • 👾 Admin dashboard for team/user management. Watch video.
  • 🚨 Portr inspector for inspecting and replaying requests. Watch video.

Setup

Contributing

Please read through our contributing guide and set up your development environment.

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See the LICENSE file for the full license text.




Features

  • Quickly expose http/tcp connections using the portr cli

cli

  • Admin dashboard to monitor connections, and manage teams and members. Watch video.

admin dashboard

  • Portr inspector to inspect and replay HTTP requests. Watch video.

portr inspector

All the logs are stored on a sqlite database on the client side.

Built using

  • go for the tunnel and proxy (to map remote ports to a subdomain).

  • python for the admin dashboard server.

  • svelte for the portr inspector and admin dashboard UI

  • postgres for the main data store (for admin-related data)

  • sqlite for storing request logs on the client side

Top comments (0)