Update readme with tg

This commit is contained in:
Dark1291 2025-02-05 11:21:50 +01:00
parent bcc9e12da5
commit ce16467a35

View File

@ -47,6 +47,7 @@
- 📝 [Command](#command) - 📝 [Command](#command)
- 💻 [Examples of terminal](#examples-of-terminal-usage) - 💻 [Examples of terminal](#examples-of-terminal-usage)
- 🐳 [Docker](#docker) - 🐳 [Docker](#docker)
- 📝 [Telegram Usage](#telegram-usage)
- 🎓 [Tutorial](#tutorials) - 🎓 [Tutorial](#tutorials)
- 📝 [To do](#to-do) - 📝 [To do](#to-do)
- 💬 [Support](#support) - 💬 [Support](#support)
@ -501,6 +502,34 @@ make LOCAL_DIR=/path/to/download run-container
The `run-container` command mounts also the `config.json` file, so any change to the configuration file is reflected immediately without having to rebuild the image. The `run-container` command mounts also the `config.json` file, so any change to the configuration file is reflected immediately without having to rebuild the image.
# Telegram Usage
## Configuration
You need to create an .env file and enter your Telegram token
and user ID to authorize only one user to use it
## .env Example:
```
TOKEN_TELEGRAM=IlTuo2131TOKEN$12D3Telegram
AUTHORIZED_USER_ID=12345678
DEBUG=False
```
## Install Python Dependencies
```bash
pip install -r requirements.txt
```
## On Linux/MacOS:
```bash
python3 telegram_bot.py
```
# Website Status # Website Status
| Website | Status | | Website | Status |