logoalt Hacker News

philjohnsonyesterday at 8:45 PM3 repliesview on HN

(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


Replies

NoahZunigatoday at 7:17 AM

> Which, I guess technically anything fully browser based is essentially open sourced :) so perhaps I could use it here.

Open source isn't just about the source code being available (and when making web apps, there is often a compile step which makes the browser facing code not source code), but also about the license under which it is available.

It is in every sense of the word technically not open source.

speereryesterday at 9:56 PM

Thanks for the insight. Yes, the AGPL isn't a problem for me - I didn't check your licence as I could just view source :)

srousseytoday at 12:06 AM

Is your code available?

show 1 reply