A telegram bot that sends messages to the different platforms.
From the receiver's (that is, a bot's owner's) side, it helps to concetrate only on the important messages and to not worry, that you miss something. From the sender's (for example, friend's) side, it gives a handy Telegram interface that simplify a using of the message sender.
Before reading this chapter, ensure that you have an installed and set up MariaDB or MySQL.
Steps to set up the project:
- Clone the repository:
git clone https://github.com/roli2py/message-sender-telegram-bot
- Navigate to the repository
cd message-sender-telegram-bot - Install the package by
uv(recommended) orpip:# Install by `uv` uv sync # ...or by `pip` pip install .
- Fill a
sqlalchemy.urlproperty in thealembic.inifile:# ... # replace the placeholders to appropriate data sqlalchemy.url = mysql+pymysql://user:pass@host:port/dbname # ...
- Migrate the database by
alembic:alembic upgrade head
- Duplicate the
example.envfile and name it to.env:cp example.env .env
- Fill the
.envfile with the appropriate data. - Export the
.envfile to your environment:Reference: https://gist.github.com/mihow/9c7f559807069a03e302605691f85572set -a && source .env && set +a
- Run the
mainmodule of themessage_sender_telegram_botpackage:python3 -m message_sender_telegram_bot.main
See CONTRIBUTING.md.
See SECURITY.md.
See CODE_OF_CONDUCT.md.
See LICENSE.

