ppt-tool/backend
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
..
alembic/versions Fix migration: move to correct path, update down_revision to c7a3f8e21d4b 2026-03-01 20:10:36 +00:00
api Fix 5 post-Phase8 bugs: SSE crash, custom templates, ordering, persistence, JSON display 2026-03-01 20:25:28 +00:00
assets Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
constants Phase 2: Admin panel, analytics, storage, template pipeline, multi-provider LLM 2026-02-26 23:39:34 +00:00
enums Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
migrations Fix migration: move to correct path, update down_revision to c7a3f8e21d4b 2026-03-01 20:10:36 +00:00
models Phase 8: Data-driven slide architecture + template management overhaul 2026-03-01 20:05:25 +00:00
scripts Phase 2: Admin panel, analytics, storage, template pipeline, multi-provider LLM 2026-02-26 23:39:34 +00:00
services Phase 8: Data-driven slide architecture + template management overhaul 2026-03-01 20:05:25 +00:00
static Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
tests Phase 7: Apply design system to all admin pages + fix test stubs 2026-03-01 19:01:52 +00:00
utils Replace PPTX export pipeline: Puppeteer/python-pptx → PptxGenJS 2026-03-01 21:04:31 +00:00
workers Increase ARQ job timeout to 90 minutes 2026-02-27 21:48:51 +00:00
.python-version Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
alembic.ini Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
Dockerfile Phase 4: Fix critical bugs, improve document parsing, add vision OCR 2026-02-27 14:07:00 +00:00
mcp_server.py Rebrand Presenton to Oliver DeckForge, pre-configure models, use NanoBanana Pro 2026-02-26 18:17:11 +00:00
openai_spec.json Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
pyproject.toml Implement critical security fixes and modern design system (Pre-launch P0 tasks) 2026-02-27 18:28:24 +00:00
server.py Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00
uv.lock Phase 1-2: Foundation + Admin Panel & Client Management 2026-02-26 15:37:17 +00:00