Skip to content

A Telegram Media Encoder Bot With Database, Broadcast Support

License

Notifications You must be signed in to change notification settings

KOTBOTS/The-Encoder-Bot

 
 

Repository files navigation

The_Encoder_Bot

Readme

GitHub top language GitHub pull requests GitHub closed pull requests

GitHub forks GitHub Repo stars

Configuration

Add values in environment variables or add them in config.env.example and rename file to config.env.

Basics

Authorization

  • SUDO_USERS - Chat identifier of the sudo user. For multiple users use space as seperator.

Encode Settings

Optional

  • DOC_THUMB - (Optional) Thumbnail for document
  • UPLOAD_AS_DOC - (Optional) Uploads Video as doc if 1 else 0.
  • DOWNLOAD_DIR - (Optional) Temporary download directory to keep downloaded files.
  • ENCODE_DIR - (Optional) Temporary encode directory to keep encoded files.

Configuring Encoding Format

To change the ffmpeg profile edit them in ffmpeg.py

Deployment

With python3.7 or later.

pip3 install --no-cache-dir -r requirements.txt
bash run.sh

Credits

Copyright & License

Deploy on Heroku

herokudeploy-01

Support

Database

Pyrogram

MongoDB

About

A Telegram Media Encoder Bot With Database, Broadcast Support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%