Zelport

OPEN SOURCE MIT LICENSE

Open what your AI agents are building. Give every web service a stable localhost address whether it runs on your computer or a development server. Use browser features that require a secure context without managing TLS certificates.

macOSLinux OmarchyWindowsPlanned
MAGIC FUNNEL

Local web app

Local API

Development server

Remote HTTP service

Service on another device

project.localhost:8080

01 / INTRODUCTION: THERE’S NO PLACE LIKE LOCALHOST

Why Zelport exists.

Zelport App is an open-source local HTTP reverse proxy with browser-based administration, built to make web services easy to review and test. Give each service an address such as project.localhost:8080 and manage it in the local dashboard.

Zelport App includes Local Ports, Remote HTTP, Ports over SSH, Ports over Relay and Built-in Relay. Ports over SSH uses your system SSH client and existing SSH configuration. The client is not bundled with Zelport App.

LOCAL DASHBOARD

See where each address leads.

Domains, source types and routing details in one view.

Zelport dashboard showing web services on this computer and a development server

Localhost and secure contexts

Browsers can treat localhost and .localhost names as secure contexts over HTTP when they guarantee loopback resolution. This lets local pages use browser APIs that require a secure context without a TLS certificate. See the W3C Secure Contexts draft.

Secure context does not mean HTTPS. Browser permissions and CORS still apply, and HTTP backend connections remain unencrypted.

HTTP reverse proxy

Zelport listens on loopback, on port 8080 by default, and routes requests using the HTTP Host header. Backends can run on your computer, on a development server over SSH or at a remote HTTP address.

project.localhost:8080 and api.localhost:8080 can point to different services. They share one reverse proxy port and keep separate browser origins. The dashboard lives at localhost:8080.

Secure sharing between devices

Built-in Relay facilitates end-to-end encrypted connections between remote Zelport App instances. Zelport Relay provides the same relay server as a standalone executable and is the recommended choice for servers. Imported services get .localhost addresses on the receiving device.

Devices with the same E2E secret have mutual administration access. Share it only with devices you trust.

02 / INSTALLATION: A FEW COMMANDS FROM HOME

From terminal to localhost.

Install Zelport and open your first service on localhost.

1. Install Zelport on macOS

brew install zelport/tap/zelport
zelport

03 / FAQ: A FEW GOOD QUESTIONS

Frequently asked questions

Can I omit the port from a .localhost address?

Yes. If port 80 is available and your regular user can bind it, run zelport --port 80 and open an address such as http://project.localhost.

We recommend the default port 8080. On Linux and macOS, ports below 1024 may require elevated privileges. Do not run Zelport as root just to omit the port.

Can I change the default port 8080 to another port like 9090?

Yes. Start Zelport with zelport --port 9090, then use addresses such as http://project.localhost:9090. The dashboard will be available at http://localhost:9090. Choose an available port. Your services can keep their existing ports.

We recommend keeping the default port 8080, as it is used throughout the Zelport documentation and all examples.

Can Zelport listen on a public interface instead of loopback?

For security reasons, Zelport keeps its local HTTP listener accessible only from your own computer through localhost. If you want to tunnel local services to another device, use Ports over SSH or Ports over Relay (end-to-end encryption).

Can I map a public website such as google.com to a .localhost address?

Unfortunately, yes, through Remote HTTP, but we do not recommend using it to browse public websites, especially for signing in or handling sensitive information.

Your browser connects to Zelport over local HTTP, even when Zelport connects to the upstream website over HTTPS. The browser sees a local origin and no longer verifies the original website's TLS identity directly. Zelport can access the decrypted content, including any credentials submitted through it. A localhost secure context does not make the upstream content trustworthy or preserve the original website's security boundaries.

Sign-in, cookies and redirects may also behave differently or stop working. Use the public website's original HTTPS address instead.

What are Aux ports?

Aux ports are auxiliary localhost ports that expose a service to Zelport. For example, a sandbox might expose its HTTP service on localhost:13800. While that endpoint is listening, another process cannot normally bind to the same address and port.

Zelport forwards requests from a named address such as project.localhost:8080 to that Aux port. You use the named address in your browser, while the original Aux port remains occupied by the service.

Does a secure context mean the connection uses HTTPS?

Zelport serves plain HTTP on the loopback interface. Browsers can treat localhost and <service>.localhost as secure contexts when they guarantee that these names resolve to loopback. This lets pages use APIs that require a secure context without setting up TLS. Browser permissions and CORS still apply. See W3C Secure Contexts.

Do cookies with the Secure attribute work on .localhost:8080?

Chrome and Firefox support cookies with the Secure attribute over HTTP on .localhost addresses. Safari added support in version 27.

See the HTTP Working Group discussion and the Safari 27 release notes.

Can I access my Zelport entry points across different networks or while travelling?

Yes. With Ports over Relay, devices on different networks, including travelling devices (road warriors), can share HTTP services as long as every participating Zelport instance can reach the same relay. Run the standalone Zelport Relay on a reachable server for this role.

For security, the relay uses a separate listener on port 8090 by default, keeping relay connections separate from the local reverse proxy and dashboard on port 8080.

Relay access is protected by an access token by default. The traffic itself is end-to-end encrypted using a separate E2E secret shared only by the client Zelport instances. The relay does not need this secret and cannot read the encrypted application traffic.

Is Zelport designed for individuals or teams?

Zelport is designed for one mutually trusted group of instances and users. It is not a multi-tenant access-control boundary.

What language is Zelport written in?

Zelport is written in Go (Golang).

How do I uninstall Zelport?

macOS

Stop the Homebrew service, if enabled, then uninstall Zelport:

brew services stop zelport
brew uninstall zelport

Linux

If you installed Zelport with the script, run the official uninstaller as your regular user, without sudo:

curl -fsSL https://zelport.com/uninstall.sh | bash

If you installed Zelport with Homebrew, stop the service with brew services stop zelport if it is running, then uninstall Zelport:

brew uninstall zelport

Omarchy

Remove Zelport with the official uninstaller:

curl -fsSL https://zelport.com/uninstall.sh | bash

Then remove the Zelport Integration for Omarchy plugin, if installed:

omarchy plugin remove zelport.integration