This is a web-based application designed to process specific types of PDF documents. It uses the pdf-lib
library to manipulate the content of the PDF files, allowing you to modify and enhance your PDF documents efficiently.
- Upload and process PDF files directly in your browser.
- Provides a progress bar to track the status of the processing.
- Automatically downloads the modified PDF file after processing.
- pdf-lib: A powerful PDF manipulation library for JavaScript.
- Bootstrap: For styling the user interface and providing a clean, responsive design.
- pako: A library used for handling compressed content in the PDF.
- Upload your PDF document by selecting a file.
- Click on the "Remove Most Common Substring" button to initiate processing.
- The progress bar will show the status of the document as it is processed.
- Once the process is complete, the modified PDF will be downloaded automatically.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/jonatw/pdf-processor.git
-
Navigate to the project directory:
cd pdf-processor
-
Install the required dependencies:
npm install
-
Run the development server:
npm run dev
The app will be accessible at
http://localhost:5173
. -
To build the project for production:
npm run build