Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ciscose/ngrok-spark-startup-helper
Helps with ngrok tunnel management when developing Cisco WebEx Teams Bots
https://github.com/ciscose/ngrok-spark-startup-helper
Last synced: 3 months ago
JSON representation
Helps with ngrok tunnel management when developing Cisco WebEx Teams Bots
- Host: GitHub
- URL: https://github.com/ciscose/ngrok-spark-startup-helper
- Owner: CiscoSE
- License: other
- Created: 2018-05-09T14:29:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-30T20:10:30.000Z (about 6 years ago)
- Last Synced: 2024-04-24T12:19:47.295Z (7 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **2**星
README
# ngrok-startup
One of the nuisances of developing integrations or bots with ngrok is that the tunnel url changes everytime you fire up ngrok. Then you have to manually update your spark webhook.
This script tears down all of your existing ngrok tunnels, creates new ones, then updates your Spark Bot webhook urls.To use it simply type
```
python3 ngrok_startup.py "tunnel_name"
```Where *port* is the port ngrok is listening to and *tunnel_name* is the name of the tunnel you may have given it previously. Note that *tunnel_name* is also the name given to the Cisco Spark webhook. So for example if the port was 10040 and the tunnel name was "my_tunnel_name", the command line argument would be:
```
python3 ngrok_startup.py 10040 "my_tunnel_name"
```