Skip to content

About

A simple web application that allows users to upload and merge multiple PDF files into a single document.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

PDF Merger

A simple web application that allows users to upload and merge multiple PDF files into a single document. Built using HTML5 CSS3 JavaScript, Node.js, Express.js, multer, pdf-merger-js.


🚀 Features

  • Upload multiple PDF files and merge them into one.
  • Uses Express.js to handle backend operations.
  • Implements multer for file uploads.
  • Utilizes pdf-merger-js to merge PDFs.
  • Automatically deletes temporary files after merging to optimize storage.

🛠️ Tech Stack

  • Frontend: HTML5, CSS3, JavaScript
  • Backend: Node.js, Express.js
  • File Handling: Multer (for uploads)
  • PDF Processing: pdf-merger-js

📌 Installation

  1. Clone the Repository

    git clone https://github.com/DhruvJohri/PDF-MERGER.git
    cd PDF-MERGER
  2. Install Dependencies

    npm install
  3. Run the Server

    node index.js

    Or use nodemon for automatic reloads:

    nodemon index.js
  4. Open in Browser Go to http://localhost:3000


📂 Project Structure

PDF-MERGER/
│── public/        # Static files (CSS, JS, Images)
│── uploads/       # Temporary storage for uploaded PDFs
│── views/         # HTML Templates
│── index.js       # Main server file
│── package.json   # Dependencies & scripts
│── .gitignore     # Ignoring unnecessary files

⚠️ Security Considerations

  • Restrict uploads to only PDF files.
  • Set a file size limit to prevent server overload.
  • Store files temporarily and delete them after merging.

🚀 Deployment

🛠️ Future Enhancements

✅ Drag & Drop file upload support
✅ Progress bar while merging
✅ Allow users to reorder PDFs before merging
✅ Cloud storage integration (AWS S3, Firebase)


📝 Author


🎯 Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request.


📜 License

This project is open-source and available under the MIT License.

About

A simple web application that allows users to upload and merge multiple PDF files into a single document.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages