All projects

Tools

Video to MP3 bot

A Telegram bot that turns an uploaded video, a YouTube link, or a TikTok link into an MP3, in English or Khmer.

Illustration of the Video to MP3 bot: a video file, a YouTube link, and a TikTok link feed an audio-extraction step that produces an MP3 file

Overview

Video to MP3 bot is a Telegram bot that extracts the audio from a video and sends it back as an MP3. Send it a video file or video note (up to 20 MB, Telegram's limit for bot downloads), a YouTube link, or a TikTok link, and it replies with the audio, posting progress updates along the way. The bot speaks English and Khmer: it asks which you prefer on first use and remembers your choice. On Telegram it appears as “Video to Audio” (@vta_mkr_bot).

Highlights

  • Three kinds of input: uploaded videos and video notes, YouTube links, and TikTok links.
  • Link downloads run through yt-dlp and FFmpeg on a background thread pool, so the bot stays responsive.
  • Status and error messages in both languages, including a suggestion to upload the file when YouTube blocks a download.
  • Packaged with Docker, with FFmpeg included and a health-check endpoint for cloud hosts.
Next projectGas Station Management