An open API service indexing awesome lists of open source software.

https://github.com/nulldev/ngrok-starter

:arrow_double_up: Bash script to start ngrok on a given port and display the URL's to it
https://github.com/nulldev/ngrok-starter

automation bash ngrok nulldev tunnel

Last synced: 4 months ago
JSON representation

:arrow_double_up: Bash script to start ngrok on a given port and display the URL's to it

Awesome Lists containing this project

README

          

# Ngrok Starter
Bash script to start ngrok on a given port and display the URL's to it



This script is able to start NGROK (https://ngrok.com/) and display the URL's to the Public Tunnels

## Why?

This script can be used to automate processes like launching an ngrok tunnel on boot.

There are two main variables declared:

- LNK_HTTP
- LNK_HTTPS

They can be used to pass the public links to other script or perform operations with them.

The script can also be used to launch ngrok directly from your desktop without opening up a terminal.

The project is done and working. Still need to optimize the startup...

## How to use:

Clone this repository:

    $ `git clone https://github.com/NullDev/ngrok-starter.git && cd ngrok-starter`

Make the script executable:

    $ `chmod +x ngrok.sh`

Edit the script in your favourite editor (for example **nano** or **gedit**)

    $ `nano ngrok.sh`

Then set the path where the ngrok binary is located, at:

    `NG=/your/path/to/ngrok`

If you want to open another port other than 80, set it here:

    `PT=80`

Run it:

    $ `./ngrok.sh`

Thats it!





       Screenshot       


scr1