Giter Club home page Giter Club logo

airportstatusbot's Introduction

Header image. Sunset with clouds and airplane contrail.

Charlie Fish

Welcome to my GitHub Profile. Although I have a lot of interesting content here I would highly encourage you to check out my website. There are a lot of pages on my website such as more information about me, my contact page, and many more interesting things. Below you can also find some other links that you might be interested in.

Links:

airportstatusbot's People

Contributors

fishcharlie avatar

Watchers

 avatar  avatar  avatar

airportstatusbot's Issues

Request failure resiliency

Currently if a request fails (either to FAA's API or the GitHub OurAirports file) the entire system will crash.

Luckily this hasn't happened so far.

But we should add some extra resiliency to that code, like retry logic and such.

Restart resilience

Currently if we restart the service (for deploying an update) and during that restart (normally only takes a few seconds or so), the FAA posts a new delay, we will miss it.

This is because when the service starts, it gets the delays from the FAA, and that first request won't generate any posts.

We should check to see if we already have a (recent) cached version of the delays from the FAA, and use that on first run instead. If it's not recent, we will have to revert to that slight delay (as to not post duplicate messages).

Down detector

Currently if the service goes down, there is no way to know other than posts not showing up. We should have some type of alert that will ping someone if the service goes down.

Foreign airports

Currently this project only supports US airports. We should try to find data sources for foreign airports and add support for that.

Airport specific accounts

Some people might just want to follow a specific airport (ie. ATL). The bot should be able to have accounts that are specific for a single airport.

Improved hashtag support

Currently the hashtags being used are fairly limited. It'd be great to come up with a better strategy for how to use hashtags. For example it might be beneficial to include a hashtag of the state that the airport is located in. Or if it's a weather related delay saying #weather instead of weather.

Consider reply posts/threads when a hub airport is involved

Wikipedia maintains a list of hub airports in the U.S. here:
https://en.wikipedia.org/wiki/List_of_hub_airports#United_States

If it'd help and there's interest I could maybe build a scraper for that and linked subpages to periodically update a list of airline names and ICAO codes, e.g.:

Inbound aircraft to Los Angeles / Tom Bradley International Airport (LAX) are currently being delayed at their origin airport due to wind. Delays are currently averaging 1 hour and 14 minutes and are up to 2 hours and 21 minutes. AirportStatusBot

Perhaps followed by something like:

Delays at LAX may affect hub operations of as many as seven airlines:
Allegiant Air (AAY)
Alaska Airlines (ASA)
American Airlines (AAL)
Delta Air Lines (DAL)
JetBlue Airways (JBU)
Southwest Airlines (SWA)
United Airlines (UAL)

Alternately:

LAX delays may affect hub operations for as many as seven airlines: AAY ASA AAL DAL JBU SWA UAL

That could have some value in searches, with someone looking for "lax delay american airlines" or "dal 1234 delay".

A lower lift might be to simply write words like "Large airport delay!" where the CSV's "type" field is "large_airport" ... ?

Stops working silently

For some reason every once in a while the system will just stop logging anything, and stop working. My guess is that it's not making requests anymore. Maybe an await statement is getting stuck or something??

We need to investigate this and fix the bug.

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.