Skip to content

WPOTools/spof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spof

See what will happen to your site when a third-party provider goes down!

It uses a Blackhole server by Web page test to simulate what will happen if a third-party provider goes down.

For more info read this article By Steve Souders


Installation

First you need to install Nodejs and Phantomjs.

Then in your command line run:

sudo npm install spof -g

Usage

spof --website http://github.com --css --js --port 3001
  • --js: SPOF javascripts
  • --css: SPOF css
  • --port: sepecify port for the server, default is 3000

--js and --css are optional but you need to spof either js or css

usage


Author

Khalid Lafi (@LafiKL)


Roadmap

  • Spof a certain file or a resource e.g ( example.com, example.com/app.js )

Shout out

  • Thanks to Steve Souders for his researches.
  • Thanks to Patrick Meenan on his work at Web Page test and their blackhole server which i use in this tool!

License

The MIT License (MIT)

Copyright (c) 2013 Khalid Lafi

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.