{"repo":"zeshuaro/telegram-pdf-bot","free":true,"listed":false,"github":"https://github.com/zeshuaro/telegram-pdf-bot","clone":"git clone https://github.com/zeshuaro/telegram-pdf-bot.git","description":"A Telegram bot that can do a lot of things related to PDF files","language":"Python","stars":225,"topics":["python-telegram-bot","telegram","bot","pdf-manipulation","python","telegram-pdf-bot","telegram-bot"],"license":"AGPL-3.0","category":"chat-messaging","readme_excerpt":"Telegram PDF Bot A Telegram bot that can: - Compress, crop, decrypt, encrypt, merge, preview, rename, rotate, scale and split PDF files - Compare text differences between two PDF files - Create PDF files from text messages - Add watermark to PDF files - Add text layers to PDF files to make them searchable with text - Extract images and text from PDF files - Convert PDF files into images - Beautify handwritten notes images into PDF files - Convert webpages and images into PDF files Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes Setup Database The bot uses Datastore on Google Cloud Platform (GCP). Create a new project on GCP and enabble Datastore in the project. Install the gcloud CLI and run gcloud init to initialise it with your project. OS Requirements Ubuntu macOS Install dependencies This project uses Poetry as the dependency manager, run the following command to install the dependencies: Compile the translation files Run the following command to compile all the translation files: Setup Your Environment Variables Copy the .env example file and edit the variables within the file: Running The Bot You can then start the bot with the following command:","default_branch":null,"files":null,"tree":[],"storefront":"/r/zeshuaro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zeshuaro/telegram-pdf-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}