Skip to content

Ruby telegram bot to notify of airplane ADS-B sightings

Notifications You must be signed in to change notification settings

andrepcg/plane_trakr_bot

Repository files navigation

Logo

PlaneTrakrBot

PlaneTrakrBot is a Telegram bot built with Ruby to send alerts when a airplane is found in ADS-B Exchange data

Installation

bundle install
rake db:migrate

Usage

Set your Telegram Bot token with the TELEGRAM_TOKEN environment variable.

To start the bot:

./boot

# OR

ruby boot.rb

To send out alerts:

Add the following command to Cron or similar tool.

bundle exec rake alerts:process.

Currently, the time needed for an alert to retrigger is hardcoded in the Alert model.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Ruby telegram bot to notify of airplane ADS-B sightings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages