@ferchy/n8n-nodes-aimc-toolkit 0.1.11 → 0.1.13

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 (2) hide show
  1. package/README.md +32 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -42,25 +42,37 @@ npm install @ferchy/n8n-nodes-aimc-toolkit
42
42
 
43
43
  ## FFmpeg Setup
44
44
 
45
- AIMC Media will use the first available option:
45
+ AIMC Media runs inside your n8n host/container, so FFmpeg must be available there.
46
+ It will use the first available option:
46
47
 
47
48
  1. `FFMPEG_PATH` / `FFPROBE_PATH` environment variables
48
49
  2. Bundled `ffmpeg-static` / `ffprobe-static`
49
50
  3. System FFmpeg on `PATH`
50
51
 
51
- If `ffmpeg-static` cannot install in your environment, install system FFmpeg.
52
+ If `ffmpeg-static` cannot install in your environment, install system FFmpeg on the same machine/container where n8n runs.
52
53
 
53
- ### Docker (n8n official image)
54
+ ### Docker (n8n official image, run inside the container)
54
55
  ```bash
55
56
  docker exec <container> apk add --no-cache ffmpeg
56
57
  ```
57
58
 
58
- ### Debian/Ubuntu
59
+ ### Coolify (recommended: custom Dockerfile)
60
+ If you deploy n8n via Coolify, install FFmpeg in the container image.
61
+
62
+ Example `Dockerfile`:
63
+ ```dockerfile
64
+ FROM n8nio/n8n:latest
65
+ RUN apk add --no-cache ffmpeg
66
+ ```
67
+
68
+ Then point Coolify to the Dockerfile (or use its "Custom Dockerfile" option) and redeploy.
69
+
70
+ ### Debian/Ubuntu (server/VM running n8n)
59
71
  ```bash
60
72
  apt-get update && apt-get install -y ffmpeg
61
73
  ```
62
74
 
63
- ### macOS (Homebrew)
75
+ ### macOS (local dev only)
64
76
  ```bash
65
77
  brew install ffmpeg
66
78
  ```
@@ -89,6 +101,21 @@ return rows.map((row, index) => ({
89
101
  }));
90
102
  ```
91
103
 
104
+ **Prompt starter (for GPT)**
105
+ If you want AI to generate your node code, paste this prompt into ChatGPT/GPT and fill in your task:
106
+ ```text
107
+ You are writing code for an n8n AIMC Code node.
108
+ Goal: <describe what you want to do>
109
+ Execution mode: <Run Once for Each Item OR Run Once for All Items>
110
+ Inputs: items are available as `items` (all) or `item` (single)
111
+ Return: return a plain object or array of objects (JSON-safe)
112
+ Libraries (globals): axios, lodash (_), zod (z), joi (Joi), yup, Ajv, validator, dayjs, dateFns, dateFnsTz, moment,
113
+ cheerio, papaparse (Papa), yaml (YAML), xml2js, XMLParser, qs, FormData, uuid, nanoid, bytes, cronParser, ms,
114
+ fuzzy, stringSimilarity, slug, pluralize, jsonDiff, htmlToText, marked, qrcode/QRCode, ytdl, ffmpeg, ffmpegStatic, ffprobeStatic.
115
+ Helpers: utils.now(), utils.safeJson(), utils.toArray()
116
+ Please return only the JavaScript code for the AIMC Code node.
117
+ ```
118
+
92
119
  **Example: fetch + parse XML**
93
120
  ```javascript
94
121
  const response = await axios.get('https://example.com/feed.xml');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ferchy/n8n-nodes-aimc-toolkit",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "AIMC Toolkit nodes for n8n: code execution and media operations.",
5
5
  "license": "MIT",
6
6
  "author": "Ferchy",