@wafflebase/cli 0.6.13 → 0.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +14 -0
  2. package/dist/bin.js +19293 -17345
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -39,6 +39,20 @@ export WAFFLEBASE_API_KEY=wfb_…
39
39
  export WAFFLEBASE_WORKSPACE=ws-…
40
40
  ```
41
41
 
42
+ ## Rendering slides to PNG
43
+
44
+ ```bash
45
+ wafflebase slides render <doc-id> --out ./shots # slide-1.png … slide-N.png
46
+ wafflebase slides render <doc-id> --slide 3 --out ./shots # only slide 3
47
+ ```
48
+
49
+ Writes one 1920-wide PNG per slide using the web app's own renderer, in a
50
+ headless Chromium (not soffice). It needs a login session (`wafflebase login`;
51
+ API keys cannot sign a browser in) and Playwright, which is optional and not
52
+ installed with the CLI: `npm i playwright && npx playwright install chromium`.
53
+ `--frontend <url>` (or `WAFFLEBASE_FRONTEND_URL`) names the web app when it
54
+ cannot be inferred from `--server`; `--force` overwrites existing PNGs.
55
+
42
56
  ## Image fetching
43
57
 
44
58
  `docs export` / `slides export` fetch the images a document references. An