A telegram bot that converts WebM files to MP4.
Clone or download
JorgenPhi Merge pull request #4 from vlakam/master
Webm converter by link
Latest commit a8ce7e3 Mar 18, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env.sample Initial Commit Dec 7, 2017
.gitignore Initial Commit Dec 7, 2017
LICENSE.md Initial commit Dec 7, 2017
README.md Update README.md Dec 24, 2017
app.json Webhook Mar 18, 2018
bot.js Webhook Mar 18, 2018
package-lock.json Webm converter by link Mar 17, 2018
package.json Webm converter by link Mar 17, 2018


dependencies Status Greenkeeper badge




After using Telegram on iOS, I quickly realized how much I missed being able to watch WebM files on the go. Thanks to drama around Google ditching Apple's WebKit, it's very likely that Apple devices will never support WebMs natively, so I built this bot.


  • Converts WebMs to MP4
  • Works in Group Chats


Install nodejs, npm, and ffmpeg to your system.

Create a Telegram bot using their official docs.

Copy .env.sample to .env and paste your API key there. You may also want to edit the default file size limit of 10MB.

Run node bot.js.


Simply upload a WebM into any chat where the bot is a participant and it will reply with a fresh MP4. Usage


Converting videos is very CPU intensive. When using Heroku's free tier, it took 15 seconds to convert a small webm file. Your results will vary depending where you host this. I recommend hosting it locally.


Licensed under GNU GPL v3 See LICENSE.md for the full license text