Skip to content
/ xc-bot Public

A chat bot that notifies you about new paragliding cross-country flights.

License

Notifications You must be signed in to change notification settings

dbrgn/xc-bot

Repository files navigation

XC Bot

CircleCI

A chat bot that notifies you about new paragliding cross-country flights published on XContest as part of the Swiss Cross Country Cup. Inspired by the Telegram bot XC Switzerland by Sergey Popov.

Supported messenger backends:

More may follow in the future.

Usage

Show the help screen:

help

Follow a pilot:

follow <username>

List pilots being followed:

list

Stop following a pilot:

stop <username>

Show the current bot version:

version

Architecture

The bot is written in Rust using a SQLite database for keeping track of the processed flights and flight subscriptions.

Docker Image

The repository includes a Dockerfile.

Important paths:

  • /etc/xc-bot/config.toml: Configuration file
  • /xc-bot/: Work directory (including database)

You'll probably want to mount both files into the container.

Note: This container runs as default user by default. If you use podman, you can run the container as non-root.

License

Licensed under the AGPL version 3 or later. See LICENSE.md file.

Copyright (C) 2021–2024 Danilo Bargen

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

About

A chat bot that notifies you about new paragliding cross-country flights.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published