Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m4mallu/link2PdfBot
A simple Telegram bot can convert web docs, Telegraph links, etc. to Pdf !
https://github.com/m4mallu/link2PdfBot
Last synced: 24 days ago
JSON representation
A simple Telegram bot can convert web docs, Telegraph links, etc. to Pdf !
- Host: GitHub
- URL: https://github.com/m4mallu/link2PdfBot
- Owner: m4mallu
- License: gpl-3.0
- Created: 2021-11-11T16:09:43.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-04T04:16:24.000Z (over 2 years ago)
- Last Synced: 2024-08-09T13:13:39.758Z (5 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 14
- Watchers: 1
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Link2Pdf Bot
#### A Telegram Bot to convert http Links to PDF
(Useful for converting online documents, telegraph links to pdf)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/link2PdfBot
cd link2PdfBot
- 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
Donate
Buy me a coffee for the work !
License
Credits