voxflow 1.15.1 → 1.15.3
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.
- package/README.md +6 -4
- package/dist/index.js +1 -1
- package/lib/commands/slice-stage.js +63 -0
- package/lib/commands/slice.js +8 -5
- package/lib/stage-core/local-render.js +268 -0
- package/lib/stage-core/server.js +171 -0
- package/lib/stage-ui/slice/template.js +489 -7
- package/package.json +1 -1
- package/lib/commands/slice-preview.js +0 -266
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ npx voxflow voices --search "温柔"
|
|
|
35
35
|
# Render a Slice deck locally to 1080×1920 mp4 (offline, no quota)
|
|
36
36
|
npx voxflow slice render deck.json --output out.mp4
|
|
37
37
|
|
|
38
|
-
#
|
|
38
|
+
# Live preview a Slice deck in browser (hot-reloads on file save)
|
|
39
39
|
npx voxflow slice preview deck.json
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -435,9 +435,11 @@ voxflow publish --input video.mp4 --to ja \
|
|
|
435
435
|
Turn a Slice `deck.json` into a 1080×1920 vertical card video — **locally, offline, no API call, no quota**. The CLI ships with VoxFlow's 30+ curated Remotion themes pre-bundled, so a 20-second deck renders in ~30s on Apple Silicon.
|
|
436
436
|
|
|
437
437
|
```bash
|
|
438
|
-
#
|
|
438
|
+
# Live preview in the browser — hot-reloads when you edit deck.json,
|
|
439
|
+
# diff-highlights changed cards, snapshots history. `preview` is an
|
|
440
|
+
# alias for `stage`.
|
|
439
441
|
voxflow slice preview deck.json
|
|
440
|
-
# → opens http://
|
|
442
|
+
# → opens http://127.0.0.1:5180
|
|
441
443
|
|
|
442
444
|
# Render the full mp4 locally
|
|
443
445
|
voxflow slice render deck.json --output out.mp4
|
|
@@ -450,7 +452,7 @@ voxflow slice render deck.json --output out.mp4
|
|
|
450
452
|
|------|---------|-------------|
|
|
451
453
|
| `--output <path>` / `-o` | `out.mp4` | Output mp4 path (render only) |
|
|
452
454
|
|
|
453
|
-
**First-run note**: Remotion downloads a ~90 MB headless Chrome on the first `render`
|
|
455
|
+
**First-run note**: Remotion downloads a ~90 MB headless Chrome on the first `render` call (one-time, ~30s). Subsequent runs use the cached binary.
|
|
454
456
|
|
|
455
457
|
**deck.json shape**: see `cli/skills/voxflow-slice/SKILL.md` for the schema; or use the `voxflow-slice` skill in Claude Code to generate one from any article.
|
|
456
458
|
|