Go to file
user d5bb480042 install ffmpeg 2025-02-26 18:08:19 +03:00
alembic big update 2024-04-05 02:35:15 +03:00
app hot fix 2025-02-26 18:05:07 +03:00
docs dev@locazia: make deploy blockchain route 2024-03-08 00:35:01 +03:00
locale/en/LC_MESSAGES chunks streadming, my network models 2025-02-25 14:21:16 +03:00
scripts add monitor script & edit default license type 2024-08-21 23:49:56 +03:00
.gitignore big update 2024-04-05 02:35:15 +03:00
Dockerfile install ffmpeg 2025-02-26 18:08:19 +03:00
ENDPOINTS.md chunks streadming, my network models 2025-02-25 14:21:16 +03:00
LICENSE Initial commit 2024-02-16 13:23:45 +00:00
README.md chunks streadming, my network models 2025-02-25 14:21:16 +03:00
docker-compose.yml temp disable converter, add invoice_link 2025-02-26 17:49:18 +03:00
env.example Initial commit 2024-02-16 13:23:45 +00:00
mariadb-healthcheck.sh Initial commit 2024-02-16 13:23:45 +00:00
requirements.txt fix 2024-04-05 18:26:46 +03:00
uploader_test.html fix get storage streaming 2025-02-25 17:39:27 +03:00

README.md

Sanic Telegram Bot [template]


Run

cd sanic-telegram-bot
# edit .env file
# build media_converter git.projscale.dev/my-dev/converter-module
docker-compose up --build

Translations

Adding new language

  1. Update translations keys list from code
touch messages.pot
find app -name '*.py' -exec xgettext --keyword=translated -j -o messages.pot {} +
  1. Move messages.pot to locale/<lang>/LC_MESSAGES/<domain>.po
  2. Compilrequirements.txte .po to .mo
msgfmt ru.po -o ru.mo

Log description

Sources

  1. [SQL] MariaDB
  2. [User, options ] User log
  3. [Bot, options ] Telegram bot