A powerful and user-friendly Telegram bot that enables users to download audio and video content from YouTube using the robust yt-dlp library. This bot provides a convenient interface for downloading YouTube content directly through Telegram.
- Python3
- FFmpeg
- Docker
- Docker Compose plugin
- Docker
- Docker Compose plugin
First, create your environment file by copying the example:
cp .env.example .env
Edit the .env
file with your actual configuration values:
vim .env
Launch the necessary Docker services:
docker compose up -d
Execute the Python application:
python3 main.py
Create your environment file by copying the example:
cp .env.example .env
Edit the .env
file with your production configuration values:
vim .env
Build and start the production containers:
docker compose -f prod.compose.yml up --build -d
- Always ensure your
.env
file contains the correct configuration for your environment - Never commit the
.env
file to version control - The production setup uses a separate Docker Compose file (
prod.compose.yml
) optimized for production use - Make sure all required ports specified in your Docker configuration are available
- Back up any important data before running production deployments
If you encounter issues:
- Check if all prerequisites are properly installed
- Verify your
.env
configuration - Ensure all required ports are available
- Check Docker logs if services fail to start:
docker compose logs
For production issues:
docker compose -f prod.compose.yml logs