Skip to content

TheMadTomato/PDFusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PDFusion

Overview

PDFusion is a simple and powerful tool for merging multiple PDF files into a single document. This software traverses through a specified directory, collects all PDF files, and merges them into one cohesive file, making it easier to manage and share your PDF documents.

Features

  • Automatically scans and collects PDF files from a specified directory.
  • Merges PDFs in alphabetical order.
  • Outputs a single merged PDF document.

Requirements

  • Python 3.6 or higher
  • PyPDF2

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/PDFusion.git
    cd PDFusion
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Create a standalone executable (optional): If you want to create a standalone executable, you can use PyInstaller:

    pip install pyinstaller
    pyinstaller --onefile PDFusion.py

Usage

Using the Python Script

  1. Run the script:

    python PDFusion.py <input_directory> <output_file>

    Replace <input_directory> with the path to the directory containing the PDF files you want to merge, and <output_file> with the desired name for the merged PDF.

    Example:

    python PDFusion.py /path/to/pdf_directory output.pdf

Using the Standalone Executable

Feel free to add the binary file into you `/usr/local/bin` to use it anywhere in terminal.
  1. Navigate to the directory containing the executable:

    cd dist
  2. Run the executable:

    ./PDFusion <input_directory> <output_file>

    Replace <input_directory> with the path to the directory containing the PDF files you want to merge, and <output_file> with the desired name for the merged PDF.

    Example:

    ./PDFusion /path/to/pdf_directory output.pdf

TODO

  1. Scale this tool to merge more file formats
  2. Make it pretty

Contributing

We welcome contributions! Please fork the repository and submit your pull requests.

License

This project is licensed under the GPL License.

Contact

For any inquiries, please contact [email protected].

About

Tool to combine multiple PDF files into one

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages