CheckGov is a Python script that checks if .gov
domains are up and publishes the results on a web page with a green check mark if the domain is up and a red X mark if it is not.
- Python 3.x
- Flask
- Requests
-
Clone the repository or download the script.
-
Install the required packages using pip:
pip install flask requests
-
Create a domains.txt file in the same directory as checkgov.py with the list of domains you want to check, one per line. For example:
https://www.usa.gov https://www.nasa.gov https://www.fbi.gov
-
Run the script:
python checkgov.py
-
Open your web browser and go to
http://127.0.0.1:5000/
to see the status of the domains.
This project is licensed under the MIT License.