Go to file
neko 0135bfb1ab Make sure source file gets removed after conversion in unoConvertDocument 2025-01-28 09:15:52 +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 Add config.py functionality to load api_id, api_hash and bot_token 2025-01-27 12:20:03 +05:00
config.py.example Make config.py.example more obvious 2025-01-27 12:22:21 +05:00
main.py Make sure source file gets removed after conversion in unoConvertDocument 2025-01-28 09:15:52 +05:00

README.md

TG2PDF

This telegram bot converts any libreoffice-supported document into a pdf file. It uses pyrogram, libreoffice and optionally unoserver. The unoserver dependency is entirely optional - however it improves theoretical processing speed, so its included into Dockerfile by default.

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