A simple pdf size compressing telegram robot witten in python. Mostly useful for digital documentation.
API_HASH
Your API Hash from my.telegram.orgAPP_ID
Your APP ID from my.telegram.orgBOT_TOKEN
Your bot token from @BotFather
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
- PDFNetPython3 - Library used
- Dan - Pyrogram Tg framework
- SpEcHiDe - Progress for pyrogram Script