@gehdoc/svg-to-video 0.29.0 → 0.29.2
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 +5 -5
- package/package.json +7 -4
- package/skills/svg-to-video/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -77,16 +77,16 @@ Ensure [Node.js](https://nodejs.org/) and [FFmpeg](https://ffmpeg.org/) are inst
|
|
|
77
77
|
|
|
78
78
|
```bash
|
|
79
79
|
# Node.js (auto-detected duration)
|
|
80
|
-
npx @gehdoc/svg-to-video input.svg 60 ./out-dir
|
|
80
|
+
npx -y -p @gehdoc/svg-to-video svg-to-video input.svg 60 ./out-dir
|
|
81
81
|
|
|
82
82
|
# Node.js (explicit duration & GIF output)
|
|
83
|
-
npx @gehdoc/svg-to-video input.svg 60 ./out-dir -d 5 --format gif --transparent
|
|
83
|
+
npx -y -p @gehdoc/svg-to-video svg-to-video input.svg 60 ./out-dir -d 5 --format gif --transparent
|
|
84
84
|
|
|
85
85
|
# Node.js (custom resolution dimensions e.g. vertical 1080x1920)
|
|
86
|
-
npx @gehdoc/svg-to-video input.svg 60 ./out-dir --width 1080 --height 1920
|
|
86
|
+
npx -y -p @gehdoc/svg-to-video svg-to-video input.svg 60 ./out-dir --width 1080 --height 1920
|
|
87
87
|
|
|
88
88
|
# Node.js (animated PNG output)
|
|
89
|
-
npx @gehdoc/svg-to-video input.svg 60 ./out-dir -d 5 --format apng
|
|
89
|
+
npx -y -p @gehdoc/svg-to-video svg-to-video input.svg 60 ./out-dir -d 5 --format apng
|
|
90
90
|
|
|
91
91
|
# Docker (zero local dependencies; requires --shm-size=2gb for Chromium rendering; add :Z to -v for SELinux / Fedora)
|
|
92
92
|
docker run --rm --shm-size=2gb -e PUPPETEER_ARGS="--no-sandbox" -v $(pwd):/data:Z gehdoc/svg-to-video /data/input.svg 60 /data/out-dir -d 5 --format gif
|
|
@@ -132,7 +132,7 @@ See **[docs/MCP.md](./docs/MCP.md)** for full setup instructions, tool schemas,
|
|
|
132
132
|
|
|
133
133
|
```bash
|
|
134
134
|
# Run on-demand via npx (no global installation required)
|
|
135
|
-
npx @gehdoc/svg-to-video input.svg 60 ./out-dir
|
|
135
|
+
npx -y -p @gehdoc/svg-to-video svg-to-video input.svg 60 ./out-dir
|
|
136
136
|
|
|
137
137
|
# Install globally via npm
|
|
138
138
|
npm install -g @gehdoc/svg-to-video
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gehdoc/svg-to-video",
|
|
3
3
|
"mcpName": "io.github.GehDoc/svg-to-video",
|
|
4
|
-
"version": "0.29.
|
|
4
|
+
"version": "0.29.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Professional animated SVG to Video (MP4/WebM/MKV/MOV) and Animated Image (aPNG/GIF) converter featuring frame-accurate rendering, CLI automation, Model Context Protocol (MCP) server integration, and a serverless Web Studio.",
|
|
7
7
|
"imports": {
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"mcp",
|
|
41
41
|
"mcp-server",
|
|
42
42
|
"model-context-protocol",
|
|
43
|
-
"agent-skill"
|
|
43
|
+
"agent-skill",
|
|
44
|
+
"huggingface"
|
|
44
45
|
],
|
|
45
46
|
"license": "MIT",
|
|
46
47
|
"publishConfig": {
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
"LICENSE"
|
|
54
55
|
],
|
|
55
56
|
"dependencies": {
|
|
56
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
57
|
+
"@modelcontextprotocol/sdk": "^1.31.1",
|
|
57
58
|
"@umami/node": "^0.4.0",
|
|
58
59
|
"commander": "^15.0.0",
|
|
59
60
|
"jsdom": "^30.1.1",
|
|
@@ -127,6 +128,8 @@
|
|
|
127
128
|
"@vitest/utils": "$vitest",
|
|
128
129
|
"@vitest/mocker": "$vitest",
|
|
129
130
|
"@vitest/runner": "$vitest",
|
|
130
|
-
"@vitest/snapshot": "$vitest"
|
|
131
|
+
"@vitest/snapshot": "$vitest",
|
|
132
|
+
"@modelcontextprotocol/sdk": "$@modelcontextprotocol/sdk",
|
|
133
|
+
"@modelcontextprotocol/client": "2.3.1"
|
|
131
134
|
}
|
|
132
135
|
}
|
|
@@ -31,7 +31,7 @@ When asked to generate a video or GIF from an SVG animation:
|
|
|
31
31
|
2. **Option B: Via CLI Command**:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
npx @gehdoc/svg-to-video input.svg 60 ./out-dir -d 5 --width 1080 --height 1920 --format webm --transparent --json
|
|
34
|
+
npx -y -p @gehdoc/svg-to-video svg-to-video input.svg 60 ./out-dir -d 5 --width 1080 --height 1920 --format webm --transparent --json
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
3. **Option C: Via Docker**:
|