This is a simple daemon that checks multiple websites concurrently and logs the statuses into SQLite database.
websites.yaml:
websites:
- url: https://packagemain.tech
interval: 10
- url: https://pliutau.com
interval: 15
- url: https://news.ycombinator.com
interval: 30
pattern: gleam
brew install gleam
brew install erlang
CONFIG=./websites.yaml \
DB_NAME=./websites.sqlite3 \
gleam run
gleam test