~goorzhel/sota-slack-spotter

SOTA spots for your radio club

3b35bee Tokio transmogrification

29 days ago

#5 Null comments appear as Some("")

~goorzhel commented on sota-slack-spotter todo

29 days ago

#SOTA Slack Spotter

A Slack bot that notifies you when a member of your workspace has been spotted on SOTA. 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.

#Usage

The spotter is intended to run every minute as a cron job.

#Environment

#Required
  • SLACK_BOT_TOKEN: Begins with xoxb.
  • SLACK_CHANNEL: The channel where the bot will post spots.
#Optional
  • CACHE_DIR: The location on disk where the spotter stores previously-seen spots/alerts and known callsigns (defaults to /tmp).