Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 923 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 923 Bytes

CheckGov

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.

Requirements

  • Python 3.x
  • Flask
  • Requests

Installation

  1. Clone the repository or download the script.

  2. Install the required packages using pip:

    pip install flask requests
  3. 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

Usage

  1. Run the script:

    python checkgov.py
  2. Open your web browser and go to http://127.0.0.1:5000/ to see the status of the domains.

License

This project is licensed under the MIT License.