wifi-watcher/README.md

28 lines
938 B
Markdown
Raw Normal View History

2012-06-08 03:43:58 +00:00
## wifi-watcher
This simple node app will frequently request a small web resource (on S3) to see if your HTTP requests are being redirected by a wifi hotspot.
If you get redirected, the app can try to detect which hotspot you're on and log in with the specified credentials.
2013-01-27 02:18:48 +00:00
To get it running:
2012-06-08 03:43:58 +00:00
2013-01-27 02:18:48 +00:00
1. Clone or otherwise download this repository:
2013-01-27 02:20:10 +00:00
git clone git://github.com/brianshaler/wifi-watcher.git && cd wifi-watcher
OR
wget https://github.com/brianshaler/wifi-watcher/archive/master.zip && unzip master.zip && cd wifi-watcher-master
2013-01-27 02:18:48 +00:00
2. Install npm (Node.js Package Manager) if you don't have it yet:
2012-06-08 03:43:58 +00:00
2013-01-27 02:20:10 +00:00
sudo apt-get install npm
2013-01-27 02:18:48 +00:00
3. Install this app's dependencies:
2013-01-27 02:20:10 +00:00
npm install
2013-01-27 02:18:48 +00:00
4. Then, run the app:
2012-06-08 03:43:58 +00:00
2013-01-27 02:20:10 +00:00
node app.js
2012-06-08 03:43:58 +00:00
You can edit app.js to add rules for new wifi hotspots. Right now, it's set up to detect and log in on the wifi at [Cartel Coffee in Tempe](http://cartelcoffeelab.com/)