A self hostable web-based PDF merging application built with Flask. This app allows users to upload multiple PDF files, select the files they want to combine, reorder them, and download the merged result.
- Upload Multiple Files: Upload multiple PDF files for merging.
- Select and Order Files: Choose the files you want to merge and reorder them as needed.
- Download Merged PDF: Combine selected files and download the merged PDF.
- Flask - Web framework
- PyPDF2 - PDF merging
- Tailwind CSS - Styling
- FontAwesome - Icons
-
Clone the repository:
git clone https://github.com/tshenolo/flask-pdf-merger.git cd flask-pdf-merger
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
python app.py
The application will be accessible at http://127.0.0.1:5000
.
To run the application in a Docker container:
-
Build the Docker image:
docker build -t flask-pdf-merger .
-
Run the Docker container:
docker run -d -p 5000:5000 --name flask-pdf-merger flask-pdf-merger
The application will be accessible at http://localhost:5000
.
- Go to the upload page and upload PDF files.
- Select the files to combine and arrange them in the desired order.
- Click "Combine Selected" to download the merged PDF.
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Create a new Pull Request.
This project is licensed under the MIT License.