Mirror of Apache PDFBox
Something along these lines might be a better bet: https://pdfbox.apache.org/ - no idea if that's the best one, but you should be looking for modern, full-featured PDF manipulation libraries. GhostScript is definitely NOT that - it's an ancient PostScript interpreter that barely, barely supports PDFs.
Universal markup converter
You might find https://pandoc.org/ to be of interest.
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
What are the best programs to batch convert URLs or HTML files to PDFs?
4 projects | /r/DataHoarder | 30 May 2022
Guess which part of my dissertation I’m at from my Google search history
1 project | /r/okbuddyphd | 25 Aug 2023
The Meaning of Monad in MonadTrans
2 projects | news.ycombinator.com | 13 Aug 2023
On why Markdown is not a good, or even a half-decent, markup language
9 projects | news.ycombinator.com | 19 Jul 2023
What version of RTF (Rich Text Format) does LibreOffice adhere to?
2 projects | /r/libreoffice | 7 Jul 2023