Quick start¶
This page builds decks from one web page and then from a local file.
Prerequisites¶
vexy-dexypyinstalled (see Installation).- Chromium installed with
playwright install chromium. - Network access for the URL example.
Build decks from a URL¶
-
Run
buildwith the URL:The tool fetches the page, classifies it, plans the slide breaks at the default 1280×720 stage, and runs every available strategy.
-
Read the summary table. Each row shows a strategy, a ✓ or ✗, the slide count, and the output folder or the error:
strategy result slides output / error playwright ✓ 11 out/www-vexy-art-lines/playwright reveal ✓ 9 out/www-vexy-art-lines/reveal 2/2 strategies succeeded.The slide counts depend on the live page and on which engines you have installed.
-
Open a strategy's preview, for example
out/www-vexy-art-lines/playwright/index.html, to page through its slides. -
Pick the best rendering of each slide from the strategy folders. Every folder uses the same numbering:
01-slide.pdf,02-slide.pdf, and so on.
Choose strategies and stage size¶
Run only two strategies at 1920×1080 and also write SVG files:
vexy-dexypy build https://blog.fontlab.com/ \
--strategies vivliostyle,playwright --aspect 1080p --svg
--strategiestakes a comma-separated list. An unknown name stops the run with a usage error that lists the known strategies.--aspecttakes720p,1080por810p.--size 1600x900sets any other size and overrides--aspect.--svgneeds thevexy-pdfsvgpypackage. Without it the run logs a warning and keeps the PDFs.
Build decks from a local file¶
A path that does not start with http:// or https:// is read as a local
file. The repository ships a small fixture you can use:
The static reader copies the file into out/<slug>/raw/ and downloads any
remote assets it references.
Re-run part of the pipeline¶
Each stage writes JSON sidecars into _meta/, so you can repeat later stages
without fetching again.
-
Re-render one strategy from the existing sidecars:
-
Split an existing PDF into numbered slides with a preview:
See Command line for every command and flag.