A Slack bot that notifies you when a member of your workspace has been spotted on Summits on the Air. It does this by scraping callsigns from the list of Slack users, fetching spot data from the SOTA API, and messaging a channel whenever a member's callsign appears in a spot.
SLACK_BOT_TOKEN
: Begins with xoxb
.SLACK_CHANNEL
: The channel where the bot will post spots.CACHE_DIR
: Where to store cached data. Defaults to /cache
.RUST_LOG
: Controls logging verbosity. Upstream default is error
.REGION=sjc # lhr, yyz, ...
flyctl secrets set SLACK_BOT_TOKEN=<...> SLACK_CHANNEL=<...>
flyctl volumes create -r $REGION cache
flyctl deploy
cat > .env <<EOF
SLACK_BOT_TOKEN=<...>
SLACK_CHANNEL=<...>
EOF
docker-compose up -d