Expose your local server to the outside world!

Tunnel agent allows you to expose websites or webapps running on your localhost to the outer world. This is done by creating a public url that will forward all external request to your local app running on a local port.

Install

Features

Absolutely Free

Tunnelagent is 100% free. Use as much as you want for as many apps you want!

Fast Loading

The request and response latency are minimal so you get a smooth experience.

Unlimited Subdomains

Run as many tunnels you want with all custom subdomains of your choice or let the agent generate a random one for you.

Easy Installation

As long as you have npm installed, installation of tunnel agent can be done by invoking a single command in your terminal.

HTTPs Support

Every subdomain generated by tunnel agent is https enabled. So your request is automatically secured.

Lightweight

The unpacked footprint is less than 50 kB, so installation happens with the blink of an eye.

FAQ

Frequently Ask Questions

What is TunnelAgent?

TunnelAgent is a utility that allows you to expose your web apps or website to the outer world that you are running on your local server.

This is helpful if you want to demo your app to your colleagues, friends or family without deploying your app anywhere.

Tunnel Agent is 100% free. You are free to use it for as many apps as you want.

You can claim a subdomain of your choice and use it for as long as your local app is alive.

If you shutdown your local app, the subdomain automatically gets released and can be claimed by someone else. So in a nutshell, a subdomain is available on first-come basis.

You can create as many tunnels as you want for as long as you want. There are currently no restrictions on the number of instances.

You can send me an email to soubhik [at] chatterjee [dot] pw

Install Tunnel Agent with npm

The -g flag installs the app globally in your machine so it can be run from any directory.

Note: Prefix sudo if you are using linux or macos.

To install:

npm i -g @soubhikchatterjee/tunnel-agent

Start tunnel for port 3000 with random subdomain:

ta start 3000

Start tunnel with custom subdomain:

ta start 3000 -s johndoe