https://github.com/danielpclark/track_ngrok
Send yourself DM's on Twitter when your ngrok ports change.
https://github.com/danielpclark/track_ngrok
Last synced: 12 months ago
JSON representation
Send yourself DM's on Twitter when your ngrok ports change.
- Host: GitHub
- URL: https://github.com/danielpclark/track_ngrok
- Owner: danielpclark
- License: gpl-3.0
- Created: 2015-03-16T02:23:53.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-30T21:29:52.000Z (almost 11 years ago)
- Last Synced: 2025-03-13T17:27:22.123Z (over 1 year ago)
- Language: Ruby
- Size: 180 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Track ngrok
UPDATED for NGROK 2! Now without the need for `watir`, a browser, or anything
other than `t`.
Sometimes the home network may temporarily lose a connection.
When that happens ngrok changes the port you need for remote access.
~~This uses Watir to open a web browser and monitor which port is being
used on your local machine.~~ If the port ever changes it will use the
twitter command line client 't' to direct message you.
### Installation
```
gem install t
t authenticate
wget https://github.com/danielpclark/track_ngrok/blob/master/bin/track_ngrok
chmod +x track_ngrok
```
### Usage
```
track_ngrok -t your_twitter_handle -n "your ngrok options"
```
You can generally just give your twitter handle without ngrok options if you want a standard SSH tunnel.
~~NOTE: don't close the browser window that opens.~~
You can also leave off the ngrok options if you want to default to
sharing the SSH port 22
### Contribution
Yes