{"repo":"overcuriousity/pdf2epub","free":true,"listed":false,"github":"https://github.com/overcuriousity/pdf2epub","clone":"git clone https://github.com/overcuriousity/pdf2epub.git","description":"Convert PDF files to nicely structured Markdown and EPUB format with intelligent layout detection using AI.","language":"Python","stars":312,"topics":["ai","epub","markdown","markdown-converter","pdf-converter"],"license":"MIT","category":"media-processing","readme_excerpt":"PDF2EPUB 📚 Convert PDF files to nicely structured Markdown and EPUB format with intelligent layout detection. ✨ Features - 📖 Smart layout detection for books and academic papers - 🔍 Advanced text extraction and OCR capabilities - 📊 Table detection and formatting - 🖼️ Image extraction and optimization - 📝 Clean markdown output with preserved structure - 📱 EPUB generation with customizable styling - 🌍 Multi-language support - 🚀 GPU acceleration support (NVIDIA & AMD) - 🍎 Apple Silicon support 🛠️ Dependencies - Python 3.10–3.14 (3.13 recommended, see below) - PyTorch (with CUDA/ROCm support for GPU acceleration) - marker-pdf==1.10.2 - transformers==4.57.6 - markdown==3.10.2 - latex2mathml==3.81.0 ⚠️ Python version Python 3.13 is recommended. marker-pdf constrains Pillow<11.0.0 , and Pillow only ships Python 3.14 wheels from 11.3.0 onward. On Python 3.10–3.13 every dependency installs as a prebuilt wheel. On 3.14, pip has to build Pillow from source instead: this works, but it is slower and requires a working C toolchain plus the image library headers Pillow links against. On Debian/Ubuntu install them first: Without these headers the install fails with RequiredDependencyException: The headers or library files could not be found for jpeg . 💻 Installation 1. Create and activate a virtual environment. On Linux/Mac: On Windows: 2. Install Python dependencies (this installs PyTorch as well): 3. GPU acceleration (optional): PyTorch is installed as a dependency in step 2. O","default_branch":null,"files":null,"tree":[],"storefront":"/r/overcuriousity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/overcuriousity/pdf2epub/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."}