- Move thumbnail generation before print mode switch in export-pdf.mjs
(was generating in print media, showing wrong visual)
- Add --thumbnail-only flag to export-pdf for lightweight thumb generation
- Fix README.md thumbnail URL (was pointing to wrong Space)
- Remove thumb.* from .dockerignore so pre-generated thumbs are included
- CLI: auto-set thumbnail URL in README.md when deploying to HF Spaces
- Increase article template title size to match paper template (clamp 34-54px)
Made-with: Cursor
perf: optimize Docker build with lighter base, parallelized exports, and .dockerignore
- Switch from playwright:v1.55.0-jammy (2GB) to node:20-slim (200MB)
- Add .dockerignore to exclude .git, screenshots, node_modules (~650MB)
- Use npm ci instead of npm install for faster, deterministic installs
- Make PDF, LaTeX, and Notion exports configurable via build args
- Parallelize Chromium download with Astro build (~20s saved)
- Parallelize PDF and LaTeX exports after build (~15s saved)
- Parallelize D3/Plotly/images waits in export-pdf with Promise.all (~15s saved)
- Reduce embed screenshot delay from 100ms to 30ms (~2.5s saved)
- Update entrypoint to check Playwright availability before PDF export
Made-with: Cursor
feat: improve PDF export with screenshot-based embed rendering and cover page layout