Portr is a tunnel solution that allows you to expose local http, tcp or websocket 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.
http://localhost:7777 for request inspection, replay, and WebSocket session debugging. Watch video.portr logs, backed by ~/.portr/db.sqlite.portr http 9000
To pin the tunnel to a subdomain:
portr http 9000 --subdomain amal-test
Starting an HTTP tunnel does three useful things immediately:
The local inspector lets you:
The same stored request data is available from the CLI:
# Show the latest logs for a subdomain
portr logs amal-test
# Filter by URL substring
portr logs amal-test /api/
# Emit the full stored records as JSON
portr logs amal-test --json
Please read through our contributing guide and set up your development environment.
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.