Skip to content

vm-devr/strava-telegram-bot

Repository files navigation

Strava Telegram Bot

Live

Render

Cronhub

How to run Telegram bot

  1. Install Python .python-version.
  2. Download packages:
pip install -r requirements.txt
  1. Define environment variables:
    • PORT - HTTP port;
    • BOT_API_KEY - Telegram bot API key;
    • STRAVA_GROUP - Strava club id;
    • STRAVA_USERS_CONFIG - Strava club members in the format StravaId: Name Surname separated by ;:
111222: John Doe;1111333: Jane Doe;11111444: Вася Пупкін
  1. Run:
python bot/main.py

How to develop

  1. Create and activate virtual environment.
  2. Download dev packages:
pip install -r requirements-dev.txt
  1. Install pre-commit hook:
pre-commit install
  1. Run tests:
python -m pytest bot/test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages