Yes, that makes sense. I was creating a JSONL file—which isn’t technically text, but it’s relatively straightforward compared to PDFs.
Just a quick question: how many PDFs do you need per month, and can you send this data to a third-party API? If so, I’d recommend using something like APITemplate.
Alternatively, I’ve set up a workflow that converts HTML to PDFs using Gotenberg, a tool specifically for PDF operations. You’ll need to install it, but it’s straightforward using the following Docker command:
docker run --rm -p 3333:3000 gotenberg/gotenberg:8
(Note: I changed the port to 3333
because 3000
was already in use on my system.)
References:
Hope this help;)
Simon