LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

expose

localhost tunneling service for public URL access

TLDR

Expose local server
$ expose share [http://localhost:8000]
copy
Expose with custom subdomain
$ expose share [http://localhost:3000] --subdomain [myapp]
copy
Expose with basic authentication
$ expose share [http://localhost:8000] --auth [user:password]
copy
Set authentication token
$ expose token [your_auth_token]
copy
Expose with a custom domain
$ expose share [http://localhost:8000] --domain [example.com]
copy

SYNOPSIS

expose command [options]

DESCRIPTION

Expose is a tunneling service written in PHP that creates secure HTTPS tunnels to expose local servers to the internet. It provides public URLs for development, testing, and demos without deploying.Custom subdomains and domains allow memorable URLs for presentations or client demos. The tool is an open-source alternative to ngrok, built by BeyondCode.

PARAMETERS

share URL

Create tunnel to local server.
token TOKEN
Set the authentication token.
--subdomain NAME
Use a custom subdomain.
--auth USER:PASS
Add basic HTTP authentication to the tunnel.
--domain DOMAIN
Use a custom domain.
--server SERVER
Connect to a specific Expose server.
--server-host HOST
Specify the server host.
--server-port PORT
Specify the server port.
--dns DNS
Specify a DNS server.

CAVEATS

Free tier has limitations on tunnel duration and custom subdomains. Tunnel URLs may change on reconnect. Not intended for production use. Requires an authentication token for the hosted service.

HISTORY

Expose is one of several localhost tunneling services, providing developers a way to share local development servers without deployment or firewall configuration.

SEE ALSO

Copied to clipboard
Kai