You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Papermark is using Trigger.dev v3 but they have to resort to calling out to a separate service (gotenberg.dev) they are running on fly.io to do docx/pptx to PDF conversion (you can see the code here).
It would be great if they could remove the gotenburg.dev call and do the conversion right there in their Trigger.dev task. For that, we will need a Build extension that adds the libreoffice system packages and anything else that is necessary for the conversion (fonts, etc.), and then this package could be used: libreoffice
The extension should try to be as lightweight as possible (e.g. don't install X11). Is it possible to run LibreOffice in "headless" mode?
Whoever creates this extension should make sure and test it inside a new references project in the repo, and run against a local version of trigger.dev. You can copy the hello-world reference project to get something running quickly.
The text was updated successfully, but these errors were encountered:
both of these work for pdf conversion but the latter might give out errors for some niche edge cases.
p.s.
libreoffice can indeed run in headless mode like thils: libreoffice --headless --convert-to pdf filename.docx
but the libreoffice-convert library is doing the same underhood. (reference)
Papermark is using Trigger.dev v3 but they have to resort to calling out to a separate service (gotenberg.dev) they are running on fly.io to do docx/pptx to PDF conversion (you can see the code here).
It would be great if they could remove the gotenburg.dev call and do the conversion right there in their Trigger.dev task. For that, we will need a Build extension that adds the libreoffice system packages and anything else that is necessary for the conversion (fonts, etc.), and then this package could be used: libreoffice
The extension should try to be as lightweight as possible (e.g. don't install X11). Is it possible to run LibreOffice in "headless" mode?
Whoever creates this extension should make sure and test it inside a new
references
project in the repo, and run against a local version of trigger.dev. You can copy thehello-world
reference project to get something running quickly.The text was updated successfully, but these errors were encountered: