laekov / sealpdf

A service that converts pptx to pdf and adds watermark
The Unlicense
1 stars 0 forks source link

Hello, can you make a pure front-end, pure html/js version? #1

Open itc7 opened 1 year ago

itc7 commented 1 year ago

This makes it easier to review the code and deploy it yourself privately

laekov commented 1 year ago

Good thoughts, but how do you run external executables like pdftk or even powerpoint from a browser using pure frontend html/js?

itc7 commented 1 year ago

https://pdf-lib.js.org/ https://mozilla.github.io/pdf.js/

As far as I know these two libraries can achieve.

This may only support pdf

laekov commented 1 year ago

These libraries are really cool. So, the pdf editing part is possible to be in the frontend.

laekov commented 1 year ago

Unfortunately, one of the key motivation of this project is to convert pptx to pdf using MS Office on windows, which is not yet possible to be replaced by web.

itc7 commented 1 year ago

Okay, I understand, I thought this was for pdf.