A Python-based Telegram bot designed to index, search, and upload PDF files from large local collections in a simple and efficient way.
Clone the repository:
git clone https://github.com/kaaylooon/telegram-bot-pdf-uploader.git
cd telegram-bot-pdf-uploaderpython -m venv venv
source venv/bin/activateexport TELEGRAM_BOT_TOKEN="YOUR_BOT_TOKEN"
export PDF_BASE_DIR="absolute/path/to/your/pdfs"python main.py- python3
- python-telegram-bot
The pdf_index.json file is generated automatically and should not be edited, generate yours with tools/index_pdfs.py

