Skip to content

bengabp/m3dlp

Repository files navigation

Typing SVG

opensource yt-dlp inspired media downloader Telegram bot

Telegram Chat

Setting up

Run a redis container locally

docker run -d --name redis -p 6379:6379 redis:latest

Clone this repository and install the dependencies using uv

uv sync

Running a worker This project uses dramatiq to queue download tasks so as to prevent too many tasks from being processed at once

uv run dramatiq-gevent --queues=media_download m3dlp.tasks

Running with docker compose Ive added a compose file to make everything easier. Just add a .env file at the root directory and make sure you have your TELEGRAM_BOT_TOKEN set, then fire up the bot using this command

docker compose up -d 

The compose file includes

  • redis
  • broker
  • tgbot

About

yt-dlp inspired media downloader

Topics

Resources

Stars

Watchers

Forks