This Bash script generates a personalized PDF document using a template and recipient information. It uses two custom Python modules, pdfEdit
for PDF manipulation and recipient
for creating recipient images.
-
Run the Script:
-
Execute the script by running the following command in your terminal:
./generate_pdf.sh
-
-
Provide Recipient Information:
- You will be prompted to enter the recipient's details, including their name, position, organization, and address.
-
PDF Generation:
- The script will then create an image for the recipient using the provided information.
- This image is then embedded into a PDF document using a template.
- The generated PDF is saved in the
Output
folder with the filename based on the organization name.
-
Clone the repository:
git clone https://github.com/yourusername/your-repo.git
-
Install dependencies:
pip install -r requirements.txt
$(cat generate_pdf.sh)
Feel free to customize the script based on your needs and adjust the README accordingly."