Skip to content

PNGs and video

Both commands drive a real browser, so they need Playwright, which excalideck doesn’t install for you: everything else runs without it.

Terminal window
npm i -D playwright && npx playwright install chromium # or install it globally

Without it, render and record say so and exit 1. excalideck doctor tells you whether it’s available.

Terminal window
excalideck render talk.excalidraw

It writes talk-slides/01.png, 02.png and so on, plus sheet.png with every slide on one image. The sheet is the quickest way to look over a whole deck, and it’s what the Claude Code skill looks at to check its own work.

The contact sheet for the example deck: ten slides in a grid, numbered
Option
--out <dir> where to write them (default: <deck>-slides/)
--frame <n> just slide n
--scale <n> pixel density: 2 for sharper images (default 1, so a 1600×900 frame is 1600×900)
Terminal window
excalideck record talk.excalidraw

It plays the deck through in a browser, one slide at a time, and saves talk.webm. It prints the time each slide starts, which is handy for cutting clips: the GIFs on this site were cut from a recording of the example deck.

Option
--out <file.webm> where to save it (default: next to the deck)
--width <n> the video’s width; the height is 16:9 from it (default 1280)
--hold <ms> how long to stay on each slide once its transition ends (default 1200)