logoalt Hacker News

philjohnson05/04/20251 replyview on HN

Based on my understanding of what you're saying, here's my idea that I could build:

You would add variables in the interface, and there would be a secure sandbox in the client where you can call the API of your headless CMS, and with an sdk you could create PDF programmatically assigning the respective variables with values from your headless CMS API response. Then a button to print them. This keeps everything fully private in the browser while automating the process.

Would that work? For reference, what would you expect to pay for this if you wanted to go this route?


Replies

tanepiper05/05/2025

It's hard to give a price here, but essentially that's it - we already are doing the same with web templates with their live preview functionality.

We have planning coming up, and I still need to see how high the priority is on this period

show 1 reply