All projects

Media automation

Downloading-Bot

A link starts the conversation. Preview, available quality selection, and file delivery continue the same flow.

Original project illustration, not a screenshot of the product.

The problem

Preparing a large media file should not prevent a bot from handling other messages.

What the product does

For downloadable media from Instagram, TikTok, Pinterest, X, and YouTube, the bot offers previews and available qualities, then delivers video, audio, or image files. Progress and cancellation stay in the conversation.

Behind the technology

The bot receives messages; BullMQ and Redis pass jobs to a media worker using yt-dlp and FFmpeg. The separate file-tools worker is optional, with tools off by default.

  • TypeScript
  • Node.js
  • BullMQ
  • Redis
  • yt-dlp
  • FFmpeg