Live data from Hacker News

Show HN: Free, in-browser PDF editor

breezepdf.com

31–40 of 188 posts

Re: Show HN: Free, in-browser PDF editor

#33
post #27

Nice! Recently I had the need for pdf censoring, aka not adding black rectangles but actually removing the content underneath and I still haven't found a suitable tool. Any recommendation? Or even python library to do it?

Do you want the black rectangle and the content removed? There are "redaction" tools. https://smallpdf.com/redact-pdf

Re: Show HN: Free, in-browser PDF editor

#34
post #27

Nice! Recently I had the need for pdf censoring, aka not adding black rectangles but actually removing the content underneath and I still haven't found a suitable tool. Any recommendation? Or even python library to do it?

Honestly, your best bet for securely erasing data from a PDF is by adding the black bars, printing it and then scanning the print.

Re: Show HN: Free, in-browser PDF editor

#35
post #27

Nice! Recently I had the need for pdf censoring, aka not adding black rectangles but actually removing the content underneath and I still haven't found a suitable tool. Any recommendation? Or even python library to do it?

you can do it easily with Inkscape which supports the pdf format

Re: Show HN: Free, in-browser PDF editor

#36
post #17

Nice work. I've been building something lately to manipulate PDFs in the browser for privacy, although it's quite a different use case. I think I see you're using pdf-lib and jspdf - both great libraries, and I'm using both, but: (1) Have you seen the recent WASM compilation of MuPDF? I am also using it for some functions and find it really excellent with accessible APIs and highly functional. Worth an try! (2) We ch…

(1) Yes, I am very familiar with the WASM compilation of MuPDF. It's got a lot of great features. I actually built another product pdfredactoronline.com that does redaction fully in the browser using the MuPDF WASM compilation. The reason I don't use it in BreezePDF is MuPDF has an APGL license which requires open-sourcing any code that uses their software. Which, I guess technically anything fully browser based is essentially open sourced :) so perhaps I could use it here.

Since a lot of the basic functionality I've added so far is also covered by more permissible packages like the ones you mentioned, I've started out just using those. But thanks for bringing that up, I'll revisit using MuPDF for redaction and other features

(2) I went with pdf-lib-plus-encrypt because the original pdf-lib doesn't have functionality for password-protecting PDFs, and since pdf-lib-plus-encrypt does, I used it so I could have that feature

Re: Show HN: Free, in-browser PDF editor

#37
Add a text block - it adds a block that wraps (it's a bit narrow, would like to change its size).

When downloading the PDF, the text block is not wrapped, so it doesn't match the way it looks in the editor. Tested in Firefox (but it's the same in Chromium).

Nice work on the interface and the offline & local way it works is very welcome!

Post reply on HN