Prod is a software designed to provide a validation mark on documents to prevent alteration and forgery issues. Many laboratories and corporations face problems with reports (PDFs) being tampered using PDF editing tools, which can lead to serious consequences. To address this issue, Prod proposes a solution by adding a QR code to the original PDF report. If any values in the PDF are altered, the QR code can be scanned to verify the document's authenticity using the original PDF.
- Adds a QR code to a PDF document for validation purposes.
- Stores the PDF with the QR code in the cloud (Firebase) for secure access and verification.
-
Clone the repository from GitHub:
git clone https://github.com/gautam132002/prod.git -
Activate the virtual environment:
source bin/activate -
Create an account on Firebase and obtain the required API key. Store this key in a file named
your_auth_json_fileand place it in therecdirectory. -
Update the code in
main.pyto use your Firebase API key:cred = credentials.Certificate("rec/your_auth_json_file") initialize_app(cred, {'storageBucket': 'base-c5b39.appspot.com'})
-
Run the
main.pyfile:python main.pyAlternatively, you can use the precompiled executable file
main.exeprovided with the software, which runs on Prod's Firebase. Simply create a shortcut formain.exeand execute it. -
Follow the on-screen prompts to use the tool effectively. Alternatively, you can follow the instructions below:
-
Place the file(s) you want to validate in the
pdffolder. -
Select the mode:
- Enter
0for manual mode. - Enter
1for automatic mode.
- Enter
-
The generated PDF, with the QR code added for validation, will be stored in the
result/pdffolder. -
You can find the QR code images in the
qrfolder.
-
Contributions to Prod are welcome! If you want to contribute to this project, please follow these guidelines:
- Fork the repository and create your branch from the
mainbranch. - Make sure to document your code and explain any new features or changes thoroughly.
- Test your contributions to ensure they work as expected.
- Submit a pull request with your changes, and our team will review it.
- Be respectful and considerate of others' contributions and ideas.
- Follow coding standards and keep the code clean and organized.
- Discuss major changes or new features in an issue before working on them.
Prod is licensed under the MIT License. You can find the full license text in the LICENSE file.
For any questions or support related to Prod, you can contact gautamnegi0202@protonmail.com.
Thank you for using Prod! We hope this tool helps you secure your valuable documents and prevents unauthorized alterations. If you have any feedback or suggestions, feel free to let us know. Happy document validation!
