Skip to content

About

A lightweight Python tool to check website availability, HTTP status codes, and response time through an interactive CLI.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Python Website Response Checker

A lightweight Python-based tool that checks website availability, displays HTTP status codes, and measures website response time through an interactive command-line interface.

Features

  • Check whether a website is online or offline.
  • Automatically adds https:// if no protocol is provided.
  • Display HTTP status codes.
  • Measure website response time in milliseconds.
  • Handle connection errors and request timeouts.
  • Colored terminal output.
  • Check multiple websites without restarting the program.

Technologies Used

  • Python
  • Requests
  • Colorama
  • Time Module

Project Structure

python-website-response-checker/
│
├── app.py
├── requirements.txt
├── README.md
└── .gitignore

Installation

  1. Clone this repository:
git clone https://github.com/pradipta-web/python-website-response-checker.git
  1. Navigate to the project directory:
cd python-website-response-checker
  1. Create a virtual environment:
py -m venv venv
  1. Install the required packages:
.\venv\Scripts\python.exe -m pip install -r requirements.txt

Usage

Run the application:

.\venv\Scripts\python.exe app.py

Enter a website URL when prompted.

Type exit to close the application.

Example Output

==================================================
          WEBSITE RESPONSE CHECKER
==================================================

Enter website URL (or type 'exit'): google.com

Checking website...

==================================================
              CHECK RESULTS
==================================================
Website       : https://google.com
Status        : Online
HTTP Code     : 200
Response Time : 150.25 ms
==================================================

Note: Response time and output values are examples and may vary.

Author

Kinervaaa

GitHub: https://github.com/pradipta-web

About

A lightweight Python tool to check website availability, HTTP status codes, and response time through an interactive CLI.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages