Skip to content

An NPM package for running recurring speed tests that report to twitter

Notifications You must be signed in to change notification settings

wasbazi/speed-and-tweet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speed and Tweet

This handy npm module makes it easy to take a speed test and tweet it!

Installation

npm install speed-and-tweet -g

Environment Variables

Everything is controlled by environment variables, so once you have a twitter app setup you will have to populate these environment variables with their respective values to get to tweeting:

  • TWITTER_CONSUMER_KEY
  • TWITTER_CONSUMER_SECRET
  • TWITTER_ACCESS_TOKEN
  • TWITTER_ACCESS_TOKEN_SECRET

Usage

Rip open your command line of choice and type in

# to show help:
# speed-and-tweet --help

# Runs the test every 5 minutes
speed-and-tweet

# Runs the test every 10 minutes
speed-and-tweet -i 10

# Runs the test every 5 minutes and tweets with total set to 100
speed-and-tweet -t 100

Example tweet

@comcast I pay for 25Mb/s and only get 3.14 Mb/s. http://www.speedtest.net/result/3988254123.png #YourTry github.com/wasbazi/speed-and-tweet

About

An NPM package for running recurring speed tests that report to twitter

Resources

Stars

Watchers

Forks

Packages

No packages published