Toot

Written by Mx. Eddie R on 2025-01-30 at 00:18

So.

One of the things we do at work is generate invoices. There's a /pdf/invoices endpoint in the backend daemon. Billing data goes in, invoice PDF comes out.

The inside of that machine is cursed.

Near as I can tell, there's a full headless Firefox inside. The pdf subsystem uses Puppeteer to load a page that will render the payload through an HTML template, then prints it to PDF and sends that to s3 for the system to download or send to the client.

=> More informations about this toot | View the thread | More toots from silvermoon82@wandering.shop

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113914435648052355
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
683.844012 milliseconds
Gemini-to-HTML Time
0.436705 milliseconds

This content has been proxied by September (3851b).