Go to file
neko c6bd9b1252 Make sure file names get randomized during processing 2025-01-28 10:08:09 +05:00
.gitignore Add config.py functionality to load api_id, api_hash and bot_token 2025-01-27 12:20:03 +05:00
Dockerfile Add config.py functionality to load api_id, api_hash and bot_token 2025-01-27 12:20:03 +05:00
README.md Remove convertDocumentOneShot 2025-01-28 09:24:30 +05:00
config.py.example Make config.py.example more obvious 2025-01-27 12:22:21 +05:00
main.py Make sure file names get randomized during processing 2025-01-28 10:08:09 +05:00

README.md

TG2PDF

This telegram bot converts any libreoffice-supported document into a pdf file. It uses pyrogram, libreoffice and unoserver.

Quickstart

git clone https://git.darkn.space/neko/tg2pdf.git
cd tg2pdf
cp config.py.example config.py
nano config.py
podman build -t tg2pdf .
podman run --name tg2pdf -d tg2pdf:latest