Skip to content

A Telegram bot can compress the size of PDF documents. Useful for digital documentations.

License

Notifications You must be signed in to change notification settings

Sayarkhwab/compress-pdf-tg-bot

 
 

Repository files navigation

A simple pdf size compressing telegram robot. Useful for digital documentation.

Mandatory Variables

API_HASH    -   Your API Hash from my.telegram.org
APP_ID      -   Your APP ID from my.telegram.org
BOT_TOKEN   -   Your bot token from @BotFather

Deploy

Deploy in VPS:
  • Open a Linux Terminal and Run the below commands ( Stage: 1 )
  • git clone https://github.com/m4mallu/compress-pdf-tg-bot
  • cd compress-pdf-tg-bot
  • Create a config.py with the Mandatory variables (Refer sample_config.py) and save it in the bot directory.
  • Run the below commands in the same terminal ( Stage: 2 )
  • virtualenv -p python3 venv
  • . ./venv/bin/activate
  • pip3 install -r requirements.txt
  • python3 bot.py
Deploy in Heroku
  • Click the below button to deploy the bot in Heroku
Developer

GPL3
Renjith Mangal  |  Update Channel

Donate


Buy me a coffee for the work !


License

Credits


GPL3

About

A Telegram bot can compress the size of PDF documents. Useful for digital documentations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Procfile 0.2%