Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 941 Bytes

README.md

File metadata and controls

42 lines (25 loc) · 941 Bytes

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