~goorzhel/sota-slack-spotter

SOTA spots for your radio club
33bfb3b8 — Antonio Gurgel a month ago
Add reporting callsign to Spot
0665ef40 — Antonio Gurgel a month ago
No, no macro
ed7300e4 — Antonio Gurgel a month ago
Use camino::Utf8PathBuf

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~goorzhel/sota-slack-spotter
read/write
git@git.sr.ht:~goorzhel/sota-slack-spotter

You can also use your local clone with git send-email.

#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).