codymizell / PDF-Compressor

Compresses PDFs using lossy png and lossless PDF compression. Optimized for GoodNotes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pdf-Compressor

A Modular File processing tool. Enables file upload processing via plugins and download.

It's important to note that some file conversions may result in loss of quality or data, especially when converting between different file types that are not compatible with each other. Therefore, it's always a good idea to test the output file after conversion to make sure it meets your requirements.

Installation

Overview

  1. clone Repo
  2. Install Docker and Docker Compose
  3. Starting the Project
  4. Setup Your Plugins

1. Clone Repo

git clone https://github.com/pIlIp-d/PDF-Compressor

2. Install Docker and Docker Compose

sudo apt install docker.io docker-compose 

3. Starting the Project

#first start may take a while to build the project
docker-compose up

# optionally rebuild manually
docker-compose build --no-cache

now you have the backend and the fronend running visit http://localhost:5173 to start using it.

4. Setup Your Plugins

To use the processing you can use existing plugins or create your own. The existing plugins may need to be configured. For that look inside the documentation of the plugin itself.


More Documentation

How to create your own Plugin is documented here.
More Documentation can be found here.


List of known Plugins

Plugin Name Description Path, Info and Documentation Credits
CrunchCompressor Compression Plugin for Pdfs and Images that also enables Conversion from Pdfs to and from different Image Formats. ./backend/plugin_system/plugins/crunch_compressor Philip Dell
ImageConverter Convert Images and lots of other files with ImageMagick. ./backend/plugin_system/plugins/image_converter Philip Dell

About

Compresses PDFs using lossy png and lossless PDF compression. Optimized for GoodNotes

License:Other


Languages

Language:Python 80.4%Language:TypeScript 18.3%Language:CSS 0.6%Language:Dockerfile 0.3%Language:JavaScript 0.2%Language:HTML 0.1%Language:Shell 0.0%