ppt-tool/frontend/app/api
Vadym Samoilenko 58e738e79b Replace PPTX export pipeline: Puppeteer/python-pptx → PptxGenJS
- New POST /api/generate-pptx route (Next.js) uses PptxGenJS to build
  PPTX directly from the Phase 8 JSON element model — no headless Chrome
- export_utils.py queries DB for slides + layout codes, POSTs payload to
  Next.js, saves binary response to disk (removes python-pptx/Puppeteer)
- Coordinate conversion: px / 96 → inches (1280×720 = 13.333×7.5 in)
- CSS color/font-size parsing (hex, rgb/rgba, px→pt at 0.75pt/px)
- Fallback renderer for slides without a JSON layout schema
- PDF export (Puppeteer) unchanged

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 21:04:31 +00:00
..
can-change-keys Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
export-as-pdf Phase 5: Fix export, slide edit, static files; add README 2026-02-27 15:40:36 +00:00
generate-pptx Replace PPTX export pipeline: Puppeteer/python-pptx → PptxGenJS 2026-03-01 21:04:31 +00:00
has-required-key Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
presentation_to_pptx_model Phase 5: Fix export, slide edit, static files; add README 2026-02-27 15:40:36 +00:00
read-file Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
save-layout Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
telemetry-status Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
template Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
templates Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
upload-image Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
user-config Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
v1/ppt Fix SSE proxy: create Next.js route handlers for all streaming endpoints 2026-03-01 20:43:58 +00:00