Skip to content

Telegram bot created with aiogram that can detect BPM from audiofile sent from user

License

Notifications You must be signed in to change notification settings

krystlepalace/BPM-aiogram-bot

Repository files navigation

BPM aiogram bot

Telegram bot created with aiogram that can detect BPM from audiofile sent from user

wakatime

Aiogram Python

Contents

  1. Install
  1. TODO

Install

Prequisites

  1. Python 3.11 or higher
  2. Systemd (if you want to run bot as service)

Basic startup

Clone the repository and install all dependencies by:

pip install -r requirements.txt

Download ffmpeg or make sure you have it in PATH and fill .env variables. If you are on Windows, insert full ffmpeg.exe path to .env variable. If you are on linux - just type 'ffmpeg'.

Fill other .env variables and start bot by:

python main.py

Systemd

Replace '.example' from bpm-aiogram-bot.serivce.example so it's just bpm-aiogram-bot.serivce. Then just copy service file to /etc/systemd/system/

sudo systemctl start bpm-aiogram-bot.serivce

TODO

Fix bugs with FSM