LocalTunnel alternative

lokei vs LocalTunnel

LocalTunnel is intentionally small: give it a port and it gives you a public HTTPS URL. lokei expands that moment into a project workflow by starting the application, naming it locally, inspecting it, and sharing one or several public services with their project context intact.

Last verified: July 16, 2026

npm install -g @ulpi/lokei && lokei setup
See the feature comparison

At a glance

LocalTunnel optimizes one port-to-URL action; lokei optimizes the development session around it.

Scroll horizontally to see every column.

At a glance
CapabilitylokeiLocalTunnelOfficial evidence
Starting commandlokei share or lokei run from the project directorylt --port 8000 or npx localtunnel --port 8000
Required inputA detectable or configured project; the port is resolved automaticallyThe local port, with optional local host and requested subdomain
Application startupStarts frameworks, package scripts, Compose, Sail, or declared services before sharingConnects to the local server and reconnects after that server restarts; it does not launch the app
Local development URLTrusted project.test HTTPS exists independently of public sharingCreates a public localtunnel URL; no named private local-domain workflow is documented
Public subdomainStable project-based names, requested vanity subdomains, and custom domains through lokei cloud plansA unique public URL is assigned; a requested subdomain may not be available
Programming interfaceCLI and project configuration designed for interactive and agent workflowsCLI plus a Node API that creates and closes tunnels programmatically

Feature-by-feature comparison

A small surface is a LocalTunnel strength. The question is whether the work around the tunnel is still manual.

01

Local and public routing

Scroll horizontally to see every column.

Local and public routing
CapabilitylokeiLocalTunnelOfficial evidence
Public HTTPSManaged HTTPS is built into public project sharesEvery LocalTunnel session receives a public HTTPS URL for the selected port
HTTPS to the local upstreamThe local lokei route terminates trusted TLS and proxies to the detected applicationClient options support a local HTTPS upstream, local certificate, key, CA, or invalid-certificate allowance
Custom tunnel serviceUses lokei's hosted sharing service for managed project sessionsThe client host option can point at an alternative LocalTunnel-compatible proxy service
02

Project lifecycle

Scroll horizontally to see every column.

Project lifecycle
CapabilitylokeiLocalTunnelOfficial evidence
Framework detectionDetects 30+ stacks, starts their normal command, and injects host, port, and URL settingsFramework-neutral tunnel; the already-running server determines behavior
Docker and Laravel SailDiscovers and starts the stack, then chooses shareable HTTP servicesCan tunnel a published container port but does not manage Compose or Sail lifecycle
Monorepo sharingOne project share session can contain selected public services and their dependenciesEach client tunnel targets one port; several services require several coordinated tunnel instances
03

Inspection and control

Scroll horizontally to see every column.

Inspection and control
CapabilitylokeiLocalTunnelOfficial evidence
Request visibilityShows headers and bodies for local and shared HTTP traffic in a browser inspectorThe Node tunnel object emits a request event containing method and path information
Replay and exportSupports editable replay and HAR exportNo replay or HAR workflow is documented in the client API
Session managementProvides project share status, add, targeted stop, and all-service stop commandsThe CLI session remains active until stopped; the Node object exposes close and lifecycle events

Where each product has a real edge

LocalTunnel wins on minimalism; lokei wins when the tunnel cannot be separated from the project lifecycle.

01

Where LocalTunnel has a real edge

A small, familiar, open-source path from one port to one public URL.

  • Start a tunnel with npx or a tiny global CLI command.
  • Embed tunnel creation directly in a Node test or automation script.
  • Reconnect when the local upstream restarts during the same tunnel session.
  • Point the client at a different compatible proxy host when you operate one.
02

Where lokei has a real edge

The port and tunnel become implementation details of a working project.

  • Start the application and dependencies before the public URL is created.
  • Keep a stable trusted local HTTPS name for normal development.
  • Inspect complete requests and responses, replay changes, and export HAR.
  • Share coherent web and API services as one project session.

Which one fits your workflow?

Choose based on how much context the sharing command needs to own.

01

Choose LocalTunnel if you...

  • Have one running HTTP server and already know its port.
  • Want a minimal tunnel with no broader local-development model.
  • Need a simple Node API for test automation.
  • Are comfortable managing app startup, several services, and inspection separately.
02

Choose lokei if you...

  • Want the project folder to replace the port argument.
  • Need the app or container stack started automatically.
  • Need named local HTTPS and full request inspection before sharing.
  • Share a web app and API together or need service dependencies respected.

Replace the tunnel command, not the project

A LocalTunnel project usually has little persistent configuration, so evaluation is straightforward.

  1. 01Stop the active lt or localtunnel process while keeping the application source unchanged.
  2. 02Install @ulpi/lokei globally, run lokei setup once, and verify lokei doctor.
  3. 03From the application folder, run lokei run instead of starting the server and tunnel as unrelated commands.
  4. 04Run lokei share and verify the public URL, inspector, and stop lifecycle before removing any LocalTunnel script.

Keep LocalTunnel in tests that specifically depend on its Node API until equivalent automation has been designed around lokei's CLI.

lokei vs LocalTunnel FAQ

Answers about ports, startup, subdomains, inspection, Node automation, and multi-service projects.

Is LocalTunnel still the simplest option for one port?

Yes. If a server is already running and you know the port, npx localtunnel --port 8000 is deliberately hard to beat. lokei becomes valuable when finding the port, starting the app, local HTTPS, inspection, or several related services are also part of the job.

Does LocalTunnel start my local server?

No. It connects to the selected local port and can reconnect if that upstream restarts. lokei detects and launches the project or stack before it creates local and public routes.

Do both products provide public HTTPS?

Yes. LocalTunnel assigns a public HTTPS URL to the session. lokei creates a managed HTTPS share for the active project and also provides trusted local HTTPS when the project is not public.

Can I reserve a LocalTunnel subdomain?

The client lets you request a subdomain, but its official documentation warns that the requested name may not be assigned. lokei uses project-based public naming and offers custom-domain capabilities through its hosted service.

Which product has a request inspector?

lokei provides a full browser inspector with bodies, filters, editable replay, retention, and HAR export. LocalTunnel's Node API emits a lightweight request event with method and path, but it does not document an equivalent replay interface.

Which is better for a web app plus API?

lokei can discover or declare both services, model their dependency, and share them in one session. LocalTunnel requires a separate port tunnel for each service and leaves naming and lifecycle coordination to your scripts.

Can I use LocalTunnel from application code?

Yes. Its Node API is a genuine advantage for tests and programmatic tunnel creation. lokei is designed primarily as a project CLI and agent workflow, so preserve LocalTunnel where direct library embedding is the requirement.

Sources and methodology

LocalTunnel claims use its official website and public client repository documentation. lokei claims use the public website and npm package documentation.

Verified July 16, 2026. Hosted service behavior can change independently of the open-source client. LocalTunnel is a trademark of its respective owner. lokei is not affiliated with or endorsed by LocalTunnel. Requested subdomains are described as requests, not guaranteed reservations.

$ lokei run

Move from a port tunnel to a project share

Install lokei, complete setup once, and share the application from its folder without looking up its port.

npm install -g @ulpi/lokei && lokei setup