A simple Docker-based app to monitor websites and send Pushover notifications when their status changes.
Website Watcher helps you keep an eye on multiple websites, showing their status in a straightforward web interface and notifying you via Pushover when a site goes down or comes back up.
- Monitor multiple websites simultaneously
- Web interface for status updates
- Pushover notifications for status changes
- Easy setup with Docker
- Pre-load websites to monitor
- Docker and Docker Compose
- Pushover account (for notifications)
-
Clone the repository:
git clone https://github.com/zdaar/website-watcher.git cd website-watcher
-
Create a
.env
file in the project root based on.env.example
:PUSHOVER_USER_KEY=your_key_here PUSHOVER_API_TOKEN=your_token_here PUSHOVER_DEVICES=your_device_name WEBSITES_TO_MONITOR=https://example.com,https://example.org
-
Build and start the Docker container:
docker-compose up --build
-
Access the app at
http://localhost:9988
- Open
http://localhost:9988
in your browser - Enter a URL you want to monitor
- Click "Start Monitoring"
- Repeat for additional sites
The web interface updates every 5 seconds, and the app checks each site every minute. You'll receive a Pushover notification when a site's status changes from Up to Down or from Down to Up.
- Modify check frequency: Edit the sleep timer in
app/models.py
- Adjust the UI: Modify
templates/index.html
- Pre-load websites: Add URLs to the
WEBSITES_TO_MONITOR
variable in your.env
file
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.