Telegram bot for the voice of the Swedish-Russian dictionary from the docx table
Made at the request of a man named Stark.
Available here: @svrusoundbot.
There are already compiled executable independent files for Windows x86 and Linux x64.
If the file does not run on some Linux systems, do this before starting:
export TMPDIR=./tmp; mkdir -p $TMPDIR
Otherwise Python must be installed on your system.
Tested on Python versions 3.8 - 3.11
Launch via docker is also available
git clone https://github.com/alekssamos/svrusoundbot
cd svrusoundbot
create a python virtual environment
python -m venv venv
# or
python3 -m venv venv
install dependencies
on windows:
venv\Scripts\python -m pip install -r requirements.txt
on linux:
venv/bin/python -m pip install -r requirements.txt
docker pull ghcr.io/alekssamos/svrusoundbot:v1.4
- Get bot token from https://t.me/BotFather
- Get your own Telegram API key from https://my.telegram.org/apps
- rename
.env.example
to.env
and edit by filling in the values
on windows:
venv\Scripts\python svrusoundbot.py
on linux:
venv/bin/python svrusoundbot.py
docker run --env-file .env ghcr.io/alekssamos/svrusoundbot:v1.4
Everything is ready!