Skip to content

RozhakXD/PFComp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 PFComp - Your Ultimate PDF Compressor

PFComp

PFComp is a modern web application designed to compress PDF files quickly and efficiently 📄✨. With its sleek design and powerful backend, PFComp ensures top-notch file compression without compromising quality.

🚀 Features

  • 🏆 High-Quality Output: Keeps your documents sharp while reducing file size.
  • Lightning-Fast Compression: High-speed backend processing for minimal wait times.
  • 🖌 Intuitive Interface: Clean, responsive, and easy to navigate with Tailwind CSS.
  • 🌍 Cross-Platform: Compatible with all devices and browsers.

🛠️ Tech Stack

  • Frontend: HTML, Tailwind CSS, JavaScript
  • Backend: Flask (Python)
  • File Handling: Seamless .pdf file compression

🔧 Installation and Setup

Prerequisites

  • 🐍 Python 3.9+
  • 📦 pip (Python package manager)
  • 📄 Ghostscript (for PDF compression)

Steps

  1. Clone the repository:

    git clone https://github.com/RozhakXD/PFComp.git
    cd PFComp
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run the application:

    python run.py
  5. Open your browser and go to:

    http://127.0.0.1:5000
    

💡 Usage

  1. Open the application in your browser.
  2. Drag and drop or select a .pdf file in the Upload PDF File section.
  3. Click Compress PDF to start the process.
  4. Download your optimized file in seconds ⏱️.

🖼️ Screenshots

PFComp Images

🛠️ Troubleshooting

  • File Upload Not Working? Ensure the file format is .pdf and does not exceed the size limit.
  • Application Not Starting? Check your Python and pip versions, and ensure all dependencies are installed.
  • Compression Issues? Make sure the uploaded file is not corrupted or try restarting the application.
  • Ghostscript Not Installed? Verify Ghostscript is installed and accessible from the command line.

❤️ Support Us

If you love this project and want to support its development, consider buying us a coffee or leaving a tip:

📜 License

This project is licensed under the MIT License.