Website health checker that monitors multiple websites and sends Discord notifications when sites are down.
-
Configure:
- Edit
config.yamlwith your Discord webhook URL - Edit
urls.csvwith websites to monitor
- Edit
-
Run:
# Using Docker (recommended) docker-compose up -d # Or using Go directly go run cmd/main.go
discord_webhook_url: https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
timezone: Asia/Tokyo
start: 2025/6/3 21:07:25
end: 2025/6/9 21:07:25
threads: 4
mentions:
- 12345 # Discord user IDURL, CHECK_WORDS
https://www.google.com, Google
https://example.com, example,test
# Build and run
make build
./goggles
# Verbose mode (saves HTML logs when checks fail)
./goggles -v
# Single URL check
./goggles -s https://example.commake build- Build the applicationmake run- Run the applicationmake test- Run testsmake clean- Clean build artifactsmake deps- Install dependencies