Skip to content

A bot to propogate wildfire information in Saskatchewan. https://twitter.com/SaskWildfire

License

Notifications You must be signed in to change notification settings

FeXd/saskwildfire

Repository files navigation

Sask Wildfire Bot

🤖 Bot to propogate #sk #wildfire information
🔥 Data Source: https://saskatchewan.ca/fire
⏰ Checks for updates every hour or so
💻 Maintained by @FeXd
🐣 https://twitter.com/SaskWildfire

⁉️ How & Why

Sask Wildfire Bot is a Twitter bot dedicated to propogating Saskatchewan wildfire information.
It is written in Python 3 and uses the following packages:

The Saskatchewan Public Safety Agency does a great job updating wildfire status information here... But most of the information including Active Wildfire Map, Current Fire Bans, Daily Fire Danger Map, and Fire Danger Map Tomorrow is stored in a .pdf format.

This bot allows people to subscribe to notifications from @SaskWildfire for up to date wildfire information, rather than feeling the need to navigate to the Wildfire Status page and download .pdf files daily.

💻 Dependencies & Installation

  • Python 3 with pip
    • run pip install -r requirements.txt
  • Poppler
    • run brew install poppler on macOS
    • (this is required for pdf conversion using pdf2image)
  • Twitter Authentication Tokens via a Twitter Developer Account
    • Create a .env file with these tokens in the root of the directory
    • (Tweepy has good documentation on retrieving those here)
    • (tweepy_setup.py has also been provided to help set up tokens)
  • Run Sask Wildfire main script
    • run python main.py

🐞 Bugs, Questions, & Comments

Please feel free to provide feedback through any of the below methods:

💡 Official Government Websites

This tool has been created independently and is not associated with the Government of Saskatchewan or the Saskatchewan Public Safety Agency. Below are links to official websites for more information about wildfires in Saskatchewan:

📜 License

Copyright (c) 2021 Arlin Schaffel

Licensed under the MIT License, available here: https://github.com/FeXd/SaskWildfire/blob/main/LICENSE.md