ProjectBuild an Agentic Content Studio: the explanation · Module 15: Exports: PDF, PNG, ZIP and HTML · part 17 of 22
Part 17 · Module 15: Exports: PDF, PNG, ZIP and HTML
Module 15: Exports: PDF, PNG, ZIP and HTML
20 min read·
About 40 minutes · Needs: Module 7 (the renderer and the formats), Module 11 (Chromium and the /render page) · Code: backend/app/render/export.py, backend/app/api/routes/render.py, backend/app/render/chromium.py, frontend/src/api.ts
Where this fits
Exports (blue: this module) use the server's Chromium to draw the studio's own /render page, then turn that page into files.
The deck is only useful once it leaves the studio. LinkedIn takes a carousel as a PDF document; a newsletter wants images; a colleague wants one file that opens anywhere. This module is the last step: the export menu in the editor, one API route, and the code that turns a rendered deck into four kinds of file.
The rest of this project is yours to keep
This project is bought on its own, once, and stays readable afterwards, including the parts added to it later.