A cli tool to quickly test whether websites are up and running. Works with Windows
, Mac
and Linux
.
Download the project locally and run npm install -g
from inside the project's directory.
You need to have Node.js installed (Download here).
$ isup [options] [command]
Options:
-h, --help display help for command
Commands:
check [options] Checks website(s) status
make-json [options] Creates a "websites-sample.json" file with the
correct layout that other commands can use
find [options] Checks if a website is already inside the JSON file.
add [options] Add a new website inside the JSON file.
rm-duplicates [options] Removes duplicate entries from the JSON file.
rm-keywords [options] Removes all websites with specified keywords from
the JSON file.
help [command] display help for command
The JSON file must follow the structure below:
[
{
"nicename": "Google",
"url": "https://google.com",
"keywords": ["List", "of", "keywords"]
},
...
]
$ isup check --file path/to/file
Options:
-t, --timeout <timeout>
: Specify another timeout value in ms (Default: 5000)--filter <keywords>
: Check only the websites that match the provided keywords
$ isup add --file path/to/file
$ isup find --file path/to/file --url <url to search>
$ isup make-json
Options:
-o, --output <path>
: Specify where the .json will be saved (Default: Directory of the isup command)
$ isup rm-duplicates --file path/to/file
$ isup rm-keywords --file path/to/file -k <keywords>
- Commander.js - The complete solution for node.js command-line interfaces.
- chalk - Terminal string styling done right
- axios - Promise based HTTP client for the browser and node.js
- Inquirer.js - A collection of common interactive command line user interfaces.