/app-down

This a simple python CLI app to check if a website is down by passing the url as an argument.

Primary LanguagePython

APP-DOWN

Verify a web is down or not

This a simple python CLI app to check if a website is down by passing the url as an argument.

Setup

git clone https://github.com/OliverArthur/app-down.git

Go to the directory folder

cd app-down

Install all dependencies via poetry, if you don't have poetry, you can install it with pip install poetry or visit the url python-poetry.org/docs and follow the instructions.

poetry install

Usage

python -m appdown -h

The command from above will show the help message.

python -m appdown -u https://www.google.com

// or passing multiple urls

python -m appdown -u https://www.google.com https://www.bing.com

The command from above will check if the website is down or not. by using the flag -u to pass the url or multiple urls

python -m appdown -f file.txt

The command from above will check if the websites in the file are down or not. by using the flag -f to pass the file path.

All the previews command will execute synchronously and if you want to execute them asynchronously, you can use the -a argument, eg:

python -m appdown -u https://www.google.com -a

Technologies Used

TODO

  • Add unit-tests
  • Make the app available for webapp interface via API.