A GUI-based Python tool that checks if websites are online or offline.
It allows users to enter multiple website URLs, displays their status, and logs the results.
If a website is down, it sends an email notification. ๐
โ
Check Multiple Websites - Enter multiple URLs and check their status at once.
โ
GUI Interface - Simple & user-friendly Tkinter-based GUI.
โ
Error Handling - Detects timeouts, connection errors, and invalid URLs.
โ
Email Notifications - Sends an alert if a website is offline.
โ
Logging - Saves website status updates to a log file (website_status.log
).
git clone https://github.com/Burhanali2211/WebsiteStatusChecker.git
cd WebsiteStatusChecker
Make sure you have Python installed (โฅ 3.7). Install the required libraries:
pip install requests smtplib
python website_checker.py ๐น How to Use
1๏ธโฃ Enter one or multiple website URLs (one per line).
2๏ธโฃ Click "Check Status".
3๏ธโฃ See the results (โ
Online, โ Offline, โ ๏ธ Slow Response).
4๏ธโฃ If a website is down, an email alert is sent.
5๏ธโฃ Logs are stored in website_status.log.
๐น Email Notifications (Optional) To enable email alerts for offline websites: 1๏ธโฃ Open website_checker.py. 2๏ธโฃ Replace these with your email credentials:
EMAIL_SENDER = "your_email@gmail.com"
EMAIL_PASSWORD = "your_app_password"
EMAIL_RECEIVER = "receiver_email@gmail.com"
3๏ธโฃ Enable Less Secure Apps (if using Gmail) or use an App Password.