Spaces:
Running
Running
Commit History
-
Upgrade Puppeteer to v24.x for better PDF generation
- Upgrade puppeteer from 22.0.0 to 24.x (latest) - Update browser launch configuration for Puppeteer 24.x compatibility - Add auto-detection for system Chrome vs bundled Chrome - Update documentation with changelog8dea6b9
-
Optimize PDF generation with dynamic wait times based on image stats
- Accept imageCount and totalImageSizeMB from frontend - Calculate dynamic wait times: - Base: 500ms (no images) to 400ms per image (max 6s) - Size factor: 100ms per MB (max 3s) - Total capped at 8s max - Skip unnecessary scroll and wait when no images - Reduces processing time for text-only exportsf13b991 -
Fix: Replace deprecated page.waitForTimeout with delay helper
- page.waitForTimeout() was removed in Puppeteer v19+ - Use custom delay() function with setTimeout instead - Fixes 500 error when generating PDFsea21983 -
压力测试
89c8cea
-
feat: support showWatermark parameter for dynamic footer
ab40ae2 -
fix: update PDF generation to respect frontend margins and improve footer
4bef791
-
Force right alignment for PDF footer using Flexbox to fix centering issue
8ad6178 -
Update PDF Footer: Page numbers only (Right aligned), remove Powered By (moved to HTML body)
2fa8594 -
Enable PDF footer with page numbers (1/N) and powered-by text
2282119 -
Use preferCSSPageSize: true for exact print preview matching
c04468e -
Adjust PDF margins to 10mm (matching local print preview)
6907e14 -
Reduce PDF margins: L/R 5mm, T/B 15mm
5f5cfd9 -
Update fonts to Google Noto family (CJK, Core, Emoji) for full international support
b8fedae -
Add fonts-noto-color-emoji support for proper emoji rendering
280d48a
-
Switch to Node.js + Puppeteer for 100% fidelity PDF
8617367 -
Merge remote changes and update README configuration
c008055 -
Initial commit for Hugging Face Space
7b384e1 -
initial commit
Verified signature0fc6ce9