Skip to content

Telegram bot for the voice of the Swedish-Russian dictionary from the docx table

Notifications You must be signed in to change notification settings

alekssamos/svrusoundbot

Repository files navigation

svrusoundbot

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.

How to deploy on your server?

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

Get the bot source

from github:

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

or from docker container:

docker pull ghcr.io/alekssamos/svrusoundbot:v1.4

Configuration

Launch it

Directly

on windows:

venv\Scripts\python svrusoundbot.py

on linux:

venv/bin/python svrusoundbot.py

through docker

docker run --env-file .env ghcr.io/alekssamos/svrusoundbot:v1.4

Everything is ready!