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.
- 🏆 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.
- Frontend: HTML, Tailwind CSS, JavaScript
- Backend: Flask (Python)
- File Handling: Seamless
.pdf
file compression
- 🐍 Python 3.9+
- 📦 pip (Python package manager)
- 📄 Ghostscript (for PDF compression)
-
Clone the repository:
git clone https://github.com/RozhakXD/PFComp.git cd PFComp
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python run.py
-
Open your browser and go to:
http://127.0.0.1:5000
- Open the application in your browser.
- Drag and drop or select a
.pdf
file in the Upload PDF File section. - Click Compress PDF to start the process.
- Download your optimized file in seconds ⏱️.
- 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.
-
On Linux/Termux, install with:
pkg install ghostscript
-
On other platforms, download it from Ghostscript official site.
-
If you love this project and want to support its development, consider buying us a coffee or leaving a tip:
This project is licensed under the MIT License.