Live data from Hacker News

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

github.com

181–190 of 240 posts

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

#181

I'm surprised no one mentioned LibreOffice Draw - it doesn't always work perfectly (I guess it doesn't support some parts of the spec), but when it does, it's by far the most powerful pdf editor I found allowing to do things like move elements around, edit them (as in actually edit, not just annotate), etc. It's cross platform and FOSS. For page-level edits (rotating, reordering etc) pdftk in the cli (+ChatGPT to fin…

Yeah, libreoffice draw and inkscape are usually my go to tools for editing pdf.

inkscape works well for single pages.

The problems with PDFs I encounter, however, are large scale 1000 page PDFs that compile PDFs from multiple sources that clearly have multiple different types of encodings, fonts, etc.

I'd love to have a pipeline that properly 'shrinks' everything. Not sure thats what this thing does, but it looks like they're moving towards configuring pipelines that could get there.

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

#182
post #5

https://tools.pdf24.org/en/creator This tools is not open source, but it’s free. Files should remain on local pc. Developers claim that they make money only by advertisement on their website.

Great tool. The stirling looked exactly the same, except on a server.

I wonder why it's not open source by now.

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

#183

Earlier quoted context omitted.

If you are able to code or can ask someone, then you should be able to do it with some email api service (Nylas, AWS SES, etc) or headless client that gets the body of the email and convert it to pdf using wkhtmltopdf and then send it as attachment using the same service as before. Using low/no code tools might be very hard/unlikely

Thanks, yes I think this is the right direction. Surprised it doesn’t exist as SAAS, I guess demand isn’t there.

I'm pretty sure you can do this with a Office365 & their automation stack Power Automate.

Obviously it's only an option if your org has already sunk deep into Microsoft-of-things (MoT) universe.

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

#184
post #38

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

Dev here, totally could, we dismissed it at first as electron is quite bulky containing a whole chromium instance inside the exe. instead we kept it small as possible for the exe version Truth is its not to hard to port to electron We have plans for a full UI version in V2. We are releasing V1 (SPDF is currently in beta) sometime this month. But have begun work on a V2 port to different language and framework.

Quasar.dev provides a full "interoperable" solution to get to electron and others. All the code can be written as regular Vue3, then built for:

- SPAs (Single Page App)

- SSR (Server-side Rendered App) (+ optional PWA client takeover)

- PWAs (Progressive Web App)

- BEX (Browser Extension)

- Mobile Apps (Android, iOS, …) through Cordova or Capacitor Multi-platform Desktop Apps (using Electron)

Might be worth considering if you're going full client.

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

#185
post #56
post #43

Earlier quoted context omitted.

Dev here for the above stirling pdf app, Please raise features like this as a feature request github issue ticket and we can try address it in future!

I would do exactly what you have done here if I were the dev of the said app. But with the luxury of being an outsider, a user has expressed an inconvenience and it seems to make sense, then if I were to be the dev of the app here, wouldn't I go and create the ticket in whatever system with a link to this post instead of asking the user of the app to follow the red tape? I know there are places where this is not ince…

This is open source software sir, it needs multiple steps to ensure users actually need these features and are willing to use them.

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

#186

But... why? WHY?? Why would I run a docker container, a webserver, start a browser, navigate webpages... just to do some operations on a pdf locally? A few KiloBytes native program like PDFtk ( https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ ) does the job perfectly. I don't understand what is the point of bloating softwares like this. Not even speaking of the very bad consequences for the planet.

lol, you think sending TCP packets of your 25mb PDF to Google, so they can send it back, so you can send it to Google again in an email attachment, so they can send it to another Google server to another Google user, so that user can download it and upload it to Google, so they can print it on an 8.5" x 11" piece of paper is saving the planet?

You just sent how much wattage around the globe 100 times for what? To print the paper you already had on your screen?

You sound like the kind of people who put their very important network documentation on Google Drive, so when your network goes down you have no way to access the information required to bring it back up. I'd rather have one engineer who knows the ins-and-outs of a LAMP stack than 10 who only know how to provision cloud VMs.

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

#187

Earlier quoted context omitted.

A web app makes it cross platform. If you have a homelab, deploy it only once for every client. And PDFtk doesn’t do annotations afaik which is a huge pain point on Linux (at least for me) because there are no applications that I know of to easily do things that are trivial on OSX like adding text or hand drawn signatures to PDFs. Masterpdf can do it but with a watermark and some limitations. Maybe it doesn’t suit yo…

I think edge would be perfect for you

Edge the browser?

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

#188
post #153

As long as I can fill in forms and add a signature I'm sold. I loved being able to do this on MacOS but now that I'm on Linux I still haven't found any app that can do this.

Firefox can actually do this as long as your signature is in an image file.

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

#189
post #82

Earlier quoted context omitted.

I don’t think it’s ridiculous to want a scriptable document, especially for complicated forms. Likewise for the other much-dragged features for 3d scenes. https://pdfa.org/resource/pdf-in-manufacturing/ is a great usecase.

The PDF spec even supports attachments in PDF files.

How does that work exactly? Is it widely supported?

I recently had to add an embed feature to our pdf rendering, to allow users to embed other pdfs inside the one we generate for them. Since we use headless Chrome, I used pdfjs from mozilla to render the embedded pdf on screen before generating the pdf, so you can actually see and read the embedded pdf.

Works pretty well, but was wondering about this attachment feature of pdfs.

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

#190

I'm looking for a tool other than adobe pdf reader that lets me upload an image file of my signature to sign a pdf. Most of the tools I found let me draw a signature and I can't draw my signature on a track pad or with the mouse

Firefox can actually do this as long as your signature is in an image file.
Post reply on HN