Skip to content

Telegram bot for managing workout routines, tracking exercise progress, and sending reminders. Supports creating custom workout plans, adding exercises with durations and breaks, and tracking completion of sport activities.

License

Notifications You must be signed in to change notification settings

FCTL3314/ExerciseManager-Bot

Repository files navigation

Exercise Manager - Bot

Telegram bot for managing workout routines, tracking exercise progress, and sending reminders. Supports creating custom workout plans, adding exercises with durations and breaks, and tracking completion of sport activities.

Python Aiogram Fastapi Pydantic Aiohttp Black

📃 Notes

  • To ensure your application has access to the API endpoints, you need to run the backend server locally using this repository: ExerciseManager-Backend. Follow the setup and run instructions provided in the repository.
  • All Docker volumes are stored in the docker/local/volumes/ directory. If you need to reset your database or any other data, simply delete the corresponding folder.

⚒️ Development

  1. Download dependencies: pip install -r requirements.txt
  2. Create an .env file or rename .env.dist to .env and fill it with development environment variables.
    • For the WEBHOOK_HOST variable, you can use a ngrok HTTP tunnel by running: ngrok http 8000
    • For the API_BASE_URL variable, use the base URL of your locally installed server, for example: http://127.0.0.1:8080/api/v1/
  3. Start Docker services: make up_local_services
  4. Compile localization files: make compile_locales
    • If the locales directory has changed, you can specify it explicitly: make compile_locales LOCALES_DIR=new/location/
  5. Run the application: python main.py

About

Telegram bot for managing workout routines, tracking exercise progress, and sending reminders. Supports creating custom workout plans, adding exercises with durations and breaks, and tracking completion of sport activities.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •