Convert (almost) ANYTHING into a PDF!
PDFit is a Python-based application with a sleek dark-themed GUI designed to convert a wide range of file types to PDF with minimal user effort.
- User-Friendly Interface: Dark mode with light blue accents for optimal usability.
- Multi-Format Conversion: Supports converting:
- Images: JPG, JPEG, PNG, BMP, GIF
- Text Files: TXT, PY, CSV, LOG
- HTML Files: HTML, HTM
- Office Documents: DOCX, DOC, ODT, XLS, XLSX, PPT, PPTX
- Others: Additional formats via LibreOffice's headless mode
Before you begin, ensure you have the following installed:
- Python 3.6+
- Required Python Packages: Install using pip:
pip install PyQt5 Pillow reportlab pdfkit
- Additional Dependencies:
pdfkit
requires wkhtmltopdf to be installed.- LibreOffice: Ensure it’s installed and added to your system PATH.
- Clone the repository:
git clone https://github.com/yourusername/pdfit.git
- Navigate to the project directory:
cd pdfit
- Install the required Python packages:
pip install -r requirements.txt
- Run the application:
python pdfit.py
- Use the GUI to browse and select a file.
- Click Convert to PDF. The output PDF will be saved in the same directory as the original file.
Contributions are welcome! Please fork the repository and create a pull request with your improvements.
Distributed under the MIT License. See LICENSE
for more information.