{"id":22913588,"url":"https://github.com/rozhakxd/pfcomp","last_synced_at":"2025-08-03T06:06:07.183Z","repository":{"id":268032585,"uuid":"902876599","full_name":"RozhakXD/PFComp","owner":"RozhakXD","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-13T22:33:57.000Z","size":11686,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T06:42:54.162Z","etag":null,"topics":["file-optimization","flask","ghostscript","pdf-compression","python","tailwind-css"],"latest_commit_sha":null,"homepage":"https://pfcomp.pythonanywhere.com/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RozhakXD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-13T13:01:03.000Z","updated_at":"2024-12-13T22:40:21.000Z","dependencies_parsed_at":"2024-12-13T23:35:25.848Z","dependency_job_id":null,"html_url":"https://github.com/RozhakXD/PFComp","commit_stats":null,"previous_names":["rozhakxd/pfcomp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RozhakXD%2FPFComp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RozhakXD%2FPFComp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RozhakXD%2FPFComp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RozhakXD%2FPFComp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RozhakXD","download_url":"https://codeload.github.com/RozhakXD/PFComp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237604176,"owners_count":19337254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-optimization","flask","ghostscript","pdf-compression","python","tailwind-css"],"created_at":"2024-12-14T05:10:10.048Z","updated_at":"2025-02-07T06:42:58.824Z","avatar_url":"https://github.com/RozhakXD.png","language":"HTML","funding_links":["https://paypal.me/rozhak9"],"categories":[],"sub_categories":[],"readme":"# 🌟 PFComp - Your Ultimate PDF Compressor\n![PFComp](https://github.com/user-attachments/assets/40ce36fe-4e21-492a-a82c-14653abdf9e6)\n\nPFComp 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. \n\n## 🚀 Features\n- 🏆 **High-Quality Output**: Keeps your documents sharp while reducing file size.\n- ⚡ **Lightning-Fast Compression**: High-speed backend processing for minimal wait times.\n- 🖌 **Intuitive Interface**: Clean, responsive, and easy to navigate with Tailwind CSS.\n- 🌍 **Cross-Platform**: Compatible with all devices and browsers.\n\n## 🛠️ Tech Stack\n- **Frontend**: HTML, Tailwind CSS, JavaScript\n- **Backend**: Flask (Python)\n- **File Handling**: Seamless `.pdf` file compression\n\n## 🔧 Installation and Setup\n### Prerequisites\n- 🐍 Python 3.9+\n- 📦 pip (Python package manager)\n- 📄 Ghostscript (for PDF compression)\n\n### Steps\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/RozhakXD/PFComp.git\n   cd PFComp\n   ```\n\n2. Create a virtual environment and activate it:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Run the application:\n   ```bash\n   python run.py\n   ```\n\n5. Open your browser and go to:\n   ```\n   http://127.0.0.1:5000\n   ```\n\n## 💡 Usage\n1. Open the application in your browser.\n2. Drag and drop or select a `.pdf` file in the **Upload PDF File** section.\n3. Click **Compress PDF** to start the process.\n4. Download your optimized file in seconds ⏱️.\n\n## 🖼️ Screenshots\n![PFComp Images](https://github.com/user-attachments/assets/3e4fae84-cab3-457f-afac-319767a65a5c)\n\n## 🛠️ Troubleshooting\n- **File Upload Not Working?** Ensure the file format is `.pdf` and does not exceed the size limit.\n- **Application Not Starting?** Check your Python and pip versions, and ensure all dependencies are installed.\n- **Compression Issues?** Make sure the uploaded file is not corrupted or try restarting the application.\n- **Ghostscript Not Installed?** Verify Ghostscript is installed and accessible from the command line.\n  - On Linux/Termux, install with:\n\n    ```bash\n    pkg install ghostscript\n    ```\n  - On other platforms, download it from [Ghostscript official site](https://www.ghostscript.com/).\n\n## ❤️ Support Us\nIf you love this project and want to support its development, consider buying us a coffee or leaving a tip:\n- [☕ Trakteer](https://trakteer.id/rozhak_official/tip)\n- [💸 PayPal](https://paypal.me/rozhak9)\n- [🎁 Saweria](https://saweria.co/rozhak9)\n\n## 📜 License\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frozhakxd%2Fpfcomp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frozhakxd%2Fpfcomp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frozhakxd%2Fpfcomp/lists"}