A simple PDF editor built with JavaScript, Electron, Lit-HTML, Page.js, and PDF-Lib. This application allows users to split, merge, and delete pages from PDF files. It also includes a drag-and-drop sorting feature for merging pages.
- Split PDF: Split a PDF into multiple documents.
- Merge PDF: Combine multiple PDF files into one. Includes drag-and-drop sorting of files.
- Delete Pages: Remove specific pages from a PDF.
-
Clone the repository:
git clone https://github.com/blackair23/pdf-editor-electron.git cd pdf-editor-electron
-
Install dependencies:
npm install
-
Usage
Run the application:
npm start
- Split PDF: Select a PDF file, specify the pages to split, and save the resulting documents.
- Merge PDF: Drag and drop PDF files into the merge area, sort them as needed, and merge them into a single document.
- Delete Pages: Open a PDF file, select the pages to delete, and save the modified document.
Pack the application
npm run make
This will use Electron Forge to package the app into the out folder.
Contributions are welcome! Please open an issue or submit a pull request for any bugs or feature requests.