Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madole/node-cron-speed-checker
NodeJS speed checker runs every hour and posts to IFTTT
https://github.com/madole/node-cron-speed-checker
google-docs ifttt nodejs speedtest
Last synced: about 1 month ago
JSON representation
NodeJS speed checker runs every hour and posts to IFTTT
- Host: GitHub
- URL: https://github.com/madole/node-cron-speed-checker
- Owner: madole
- Created: 2017-02-05T02:34:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T22:30:40.000Z (about 8 years ago)
- Last Synced: 2024-11-10T23:36:24.050Z (3 months ago)
- Topics: google-docs, ifttt, nodejs, speedtest
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node Cron Speed Checker
This is a NodeJS project that runs every hour on the hour,
speaks to speedcheck.net via [speedtest-net](https://www.npmjs.com/package/speedtest-net)
and uses IFTTT's Maker chanel to insert the results into a Google Docs spreadsheet.## Packages
- [speedtest-net](https://www.npmjs.com/package/speedtest-net)
- [node-cron](https://www.npmjs.com/package/node-cron)
- [isomorphic-fetch](https://www.npmjs.com/package/isomorphic-fetch)## Getting started
First of all go to [IFTTT Maker](https://ifttt.com/maker) and create a trigger called `speed-test`, and
set it up to add row to a google docs spreadsheet.Take the key for the maker trigger and set it to an evironment variable and run the project.
`IFTTT_KEY={your_key} node index.js`
## Keeping this app up over time
I use [pm2](https://www.npmjs.com/package/pm2) to run this project on my raspberry pi so if it ever goes down,
pm2 can just restart the app and it'll continue to run speedchecks every hour