PlaneTrakrBot is a Telegram bot built with Ruby to send alerts when a airplane is found in ADS-B Exchange data
bundle install
rake db:migrate
Set your Telegram Bot token with the TELEGRAM_TOKEN
environment variable.
./boot
# OR
ruby boot.rb
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.
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.