Git Product home page Git Product logo

firenearby-service's Introduction

firenearby (service)

The repository gathers the latest wildfire data and sends texts to users about relevant fires. Powers https://caseymm.github.io/fire-nearby/.

The data is downloaded from NIFC, filtered, and saved to S3. After gathering the new data, it looks through the user location database (an Amazon DynamoDB instance) and identifies fires within the distance that users have requested to be alerted about. Once the fire has been identified, an text message containing a map of the fire and user's location along with a few details about the fire is sent to the user.

All actions in this repository are run every 10 minutes.

How to run manually

To get the latest fire data: yarn get-latest-fires To identify and send text alerts to users: yarn identify-matches

*note: There is no build action since this script is being run by github actions

This service was updated on August 2, 2022 to include an action that directly writes to the repository in order to circumvent github action timeouts.

firenearby-service's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.