Live data from Hacker News

Stirling-PDF: local web application to perform various operations on PDFs

github.com

71–80 of 240 posts

Re: Stirling-PDF: local web application to perform various operations on PDFs

#71

It's scary how such a widely used format (PDF) is almost in full control by Adobe. I have yet to see a true competitor to Adobe Acrobat. The only one that has come really close is the one that comes built-in for macOS. It's a hidden gem.

Does that one have a name? I’m a MacOS transplant and have never gotten terribly familiar with the territory. Thanks!

Preview.app which owes its heritage to NextStep. https://en.wikipedia.org/wiki/Preview

Re: Stirling-PDF: local web application to perform various operations on PDFs

#72

I have a PDF problem that I thought was simple but has proven difficult to solve and there is no paid solution I’ve found… I want to forward an email to an inbox, have the email body converted into a PDF, and then email that attachment to someone all automatically. I’ve tried Make, Zapier, pdf.co, pdftool, and a few other tools but have had no success. Has anyone solved this problem reliably?

I think Mail.app in macOS can do that with Automator. At the very least, the PDF emails coming from an email address and forward as attachment bits.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#73

How easy or difficult would it be to turn this into an electron app so that non-technical users can use it easily too?

It would be nice if it were WASM-based. Then someone could host that version of the app and it'd still be local processing.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#74

Earlier quoted context omitted.

Still waiting for GPT4V but doubt it will do this. Yes I’ve tried Donut and other options but this is a very gnarly problem. One option is to extract text blocks along with their coordinates (unstructured.io gives this, probably based on another pkg because it’s basically a container for many pigs). Then do the same with a blank template, and you then have an algorithmic problem of matching the filled values spatiall…

I'm fairly confident GPT-4V will do this just fine, tbh. You just need to extract each of the elements into a structured JSON or something, right? I'll try with your example later today.

Exactly, the form has filled values in named cells, so we need a JSON of cellName -> filledValue mappings.

Let me know how GPT-4V does!

Re: Stirling-PDF: local web application to perform various operations on PDFs

#75
post #63

I’ll join some other commenters, to add my favorite difficult pdf problem that I haven’t found a ready to use (even paid) solution for: extract key value pairs from a filled form such as this medical claims form: https://imgur.com/a/EJDi7L7 There are two levels of difficulty: the starting file could be an image (pdf or png or jpg), which is the most difficult scenario. The slightly easier one is where it’s a text-bas…

This could be a paid option for parsing forms (not sure about ocr): https://demos.textcontrol.com/chapter/topic/PDF/PDFFormData https://www.textcontrol.com/technologies/pdf/

Their scummy website doesn’t list their prices in any way I can see. Hard pass.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#76

I have a PDF problem that I thought was simple but has proven difficult to solve and there is no paid solution I’ve found… I want to forward an email to an inbox, have the email body converted into a PDF, and then email that attachment to someone all automatically. I’ve tried Make, Zapier, pdf.co, pdftool, and a few other tools but have had no success. Has anyone solved this problem reliably?

I needed this for expensing receipts that come via email. I created an API for it where you POST the email to an endpoint and get back a PDF.

Email me and I’ll give you access for free.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#77
It's funny to see this #1 on HN. I have a PDF converter site[0] that I did a show hn [1] years back, and have been currently pushing updates too as I work on a entire site redesign since the PDF niche is massive. I'm alleviated to see that some one actually made a package for PDF to OCR[2]. And that they are using it[3]. It will finally make what I was doing less hacky.

[0] https://www.pdf.to [1] https://news.ycombinator.com/item?id=23238862 [2] https://github.com/ocrmypdf/OCRmyPDF [3] https://github.com/Frooodle/Stirling-PDF#technologies-used

Re: Stirling-PDF: local web application to perform various operations on PDFs

#78

It's scary how such a widely used format (PDF) is almost in full control by Adobe. I have yet to see a true competitor to Adobe Acrobat. The only one that has come really close is the one that comes built-in for macOS. It's a hidden gem.

PDF had an open spec and oodles of programs supporting it. I don't understand where this comment is coming from.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#79

It's scary how such a widely used format (PDF) is almost in full control by Adobe. I have yet to see a true competitor to Adobe Acrobat. The only one that has come really close is the one that comes built-in for macOS. It's a hidden gem.

I find Chrome's built-in PDF viewer much snappier than Adobe Acrobat.

Re: Stirling-PDF: local web application to perform various operations on PDFs

#80
post #78

It's scary how such a widely used format (PDF) is almost in full control by Adobe. I have yet to see a true competitor to Adobe Acrobat. The only one that has come really close is the one that comes built-in for macOS. It's a hidden gem.

PDF had an open spec and oodles of programs supporting it. I don't understand where this comment is coming from.

Adobe acrobat (and maybe reader) is really the only app that fully supports the full PDF spec as understood by the authors of the spec. There are ridiculous parts of the spec that allow support for things like JS, etc.
Post reply on HN