1.0.3 • Published 4 years ago

glc v1.0.3

Weekly downloads
13
License
SEE LICENSE IN LI...
Repository
-
Last release
4 years ago

image

golocal.dev client :: Get Local development exposed

About

golocal allows you to easily share a web service from your local development machine to the internet without the need of a DNS server or messing with the firewall settings.

golocal will assign you a unique publicly accessible URL that will proxy all requests to your local webserver.

Install

In order to install golocal you will need NodeJS to be installed locally.

Install the application globally by issuing the following command:

npm -g install glc

Run

Start a webserver on some local port (eg http://localhost:8080) and use the command line interface to request a tunnel to your local server:

glc 8080

You will receive a url, for example https://abc123.golocal.dev, that you can share with anyone for as long as your local instance of golocal remains active. Any requests will be routed to your local service at the specified port.

Custom subdomains

To create a custom subdomain you will need a golocal account. You can create a new account either from the website or from the console using the following command.

glc login

You will be prompted to enter an email, password and a name. After you logged in (or after you created a new account) type the following command to create a tunnel with a custom subdomain.

glc --subdomain=test 8080

You will receive a url, for example https://test.golocal.dev, that you can share with anyone for as long as your local instance of golocal remains active. Any requests will be routed to your local service at the specified port.

Autostart the browser

Want to start the tunnel in the browser after it was created?

glc --open 8080