Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m4mallu/compress-pdf-tg-bot
A Telegram bot can compress the size of PDF documents. Useful for digital documentations.
https://github.com/m4mallu/compress-pdf-tg-bot
compress pdf telegram-bot
Last synced: about 1 month ago
JSON representation
A Telegram bot can compress the size of PDF documents. Useful for digital documentations.
- Host: GitHub
- URL: https://github.com/m4mallu/compress-pdf-tg-bot
- Owner: m4mallu
- License: gpl-3.0
- Created: 2021-10-16T06:03:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-16T10:38:26.000Z (over 2 years ago)
- Last Synced: 2024-08-09T13:13:59.072Z (5 months ago)
- Topics: compress, pdf, telegram-bot
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 22
- Watchers: 1
- Forks: 45
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Pdf Compressor Telegram Bot
#### 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 @BotFatherDeploy
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
Developer
Renjith Mangal |
Update Channel
Donate
Buy me a coffee for the work !
License
Credits