React File Transposer is a simple React-based web application that allows users to upload a PDF file, transpose the adjacent lines in the file, and download the modified version as a new file. This tool can be useful for various text manipulation tasks where line order adjustments are required.
- Upload PDF: Users can upload a PDF file.
- Transpose Lines: Automatically transposes adjacent lines in the text content of the PDF.
- Download Modified PDF: Save the transposed file as a new PDF.
- Node.js: Make sure Node.js is installed on your machine to run the server.
Follow these steps to set up and run the project on your local machine.
-
Extract the Zip File: Download and extract the zip file of this repository.
-
Navigate to the Project Directory:
cd react-file-transposer -
Install Dependencies:
npm install --save
This command installs all necessary dependencies for the project.
-
Start the Server:
In the root directory where the
server.jsfile resides, run:node server.js
Alternatively, you can use nodemon if you have it installed:
nodemon server.js
-
Open the Application in a Browser:
Go to http://localhost:3000 in your web browser to access the application.
You should see the upload form in the browser. Use it to upload a PDF, transpose lines, and download the modified file.
- Upload a PDF: Select a PDF file to upload.
- Transpose Lines: The app will process the file, transposing adjacent lines.
- Download: Once processed, download the newly transposed PDF file.
- React.js - Frontend framework for building the user interface
- PDF Libraries - For reading and modifying PDF files
Contributions are welcome! Please see the CONTRIBUTING.md file for our guidelines on submitting pull requests and reporting issues.
- Devansh Alok - Initial work - devanshalok
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Inspiration from document processing tools.
- Thanks to the open-source community for React and Node.js resources.