Pdf Compressor Telegram Bot
##About :
A simple pdf size compressing telegram robot witten in python. Mostly useful for digital documentation.
Deploy to Heroku:
Mandatory Variables:
API_HASH
Your API Hash from my.telegram.orgAPI_ID
Your API ID from my.telegram.orgBOT_TOKEN
Your bot token from @BotFather
Deploy Locally:
Create a config.py
with the above mandatory variables (Refer sample_config.py) and save it in the current working directory.
git clone https://github.com/m4mallu/compress-pdf-tg-bot
cd uniquify
virtualenv -p python3 venv
. ./venv/bin/activate
pip3 install -r requirements.txt
python3 bot.py
Credits:
- PDFNetPython3 - Library used
- Dan - Pyrogram Tg framework
- SpEcHiDe - Progress for pyrogram Script