n8n-nodes-toolingtools-bigboss 1.0.0
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
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# π οΈ n8n-nodes-toolingtools-bigboss
|
|
2
|
+
|
|
3
|
+
[](https://badge.fury.io/js/n8n-nodes-toolingtools-bigboss)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
**ToolingTools BigBoss** is the ultimate PDF and File Conversion utility for n8n. Powered by [ToolingTools.com](https://toolingtools.com), it brings premium document manipulation directly into your workflows.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## π Key Features
|
|
11
|
+
|
|
12
|
+
- **π PDF Manipulation**:
|
|
13
|
+
- **Merge**: Combine multiple PDFs into one document.
|
|
14
|
+
- **Split**: Extract specific pages or ranges (e.g., `1-5`).
|
|
15
|
+
- **Compress**: Optimize PDF file size for storage or email.
|
|
16
|
+
- **π Universal Converter**:
|
|
17
|
+
- **PDF to Image**: Turn pages into high-quality JPG/PNGs.
|
|
18
|
+
- **PDF to Text**: Extract raw text for AI processing.
|
|
19
|
+
- **Word to PDF**: Convert `.docx` files seamlessly.
|
|
20
|
+
- **Image to PDF**: Create PDFs from images.
|
|
21
|
+
- **π Web to PDF**:
|
|
22
|
+
- **HTML to PDF**: Render raw HTML strings (invoices, reports) to PDF.
|
|
23
|
+
- **URL to PDF**: Snapshot any website into a document.
|
|
24
|
+
- **π BigBoss Standard**: Native binary support, secure API key handling, and strict error management.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## π οΈ Usage
|
|
29
|
+
|
|
30
|
+
### 1. Setup
|
|
31
|
+
- Sign up at [ToolingTools.com](https://toolingtools.com) to get your **API Key**.
|
|
32
|
+
- In n8n, add a **ToolingTools BigBoss API** credential and paste your key.
|
|
33
|
+
|
|
34
|
+
### 2. Operations
|
|
35
|
+
- **Resource**: Choose between `PDF` (Structure) or `Convert` (Format).
|
|
36
|
+
- **Operation**: Select the specific action (e.g., `Merge`, `HTML to PDF`).
|
|
37
|
+
- **Binary Input**: Ensure your input item has the file in the binary property (default: `data`).
|
|
38
|
+
|
|
39
|
+
### 3. Example: HTML Invoice to PDF
|
|
40
|
+
1. **Operation**: `Convert` > `HTML to PDF`.
|
|
41
|
+
2. **Source Type**: `HTML String`.
|
|
42
|
+
3. **Content**: `<h1>Invoice #123</h1>...`
|
|
43
|
+
4. **Run**: Output will be a binary file `output.pdf`.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## π₯ Installation
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npm install n8n-nodes-toolingtools-bigboss
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## π The BigBoss Standard
|
|
56
|
+
Part of the **BigBoss** ecosystemβn8n nodes built for reliability, scale, and professional workflows.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## License
|
|
61
|
+
MIT
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ToolingToolsBigBoss = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const FormData = require("form-data");
|
|
6
|
+
class ToolingToolsBigBoss {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.description = {
|
|
9
|
+
displayName: 'ToolingTools BigBoss',
|
|
10
|
+
name: 'toolingToolsBigBoss',
|
|
11
|
+
icon: 'file:ToolingToolsBigBoss.png',
|
|
12
|
+
group: ['transform'],
|
|
13
|
+
version: 1,
|
|
14
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
15
|
+
description: 'Professional PDF and File Tools (Merge, Split, Convert)',
|
|
16
|
+
defaults: {
|
|
17
|
+
name: 'ToolingTools BigBoss',
|
|
18
|
+
},
|
|
19
|
+
inputs: ['main'],
|
|
20
|
+
outputs: ['main'],
|
|
21
|
+
credentials: [
|
|
22
|
+
{
|
|
23
|
+
name: 'toolingToolsBigBossApi',
|
|
24
|
+
required: true,
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
properties: [
|
|
28
|
+
{
|
|
29
|
+
displayName: 'Resource',
|
|
30
|
+
name: 'resource',
|
|
31
|
+
type: 'options',
|
|
32
|
+
noDataExpression: true,
|
|
33
|
+
options: [
|
|
34
|
+
{
|
|
35
|
+
name: 'PDF Tools',
|
|
36
|
+
value: 'pdf',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Converter',
|
|
40
|
+
value: 'convert',
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
default: 'pdf',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
displayName: 'Operation',
|
|
47
|
+
name: 'operation',
|
|
48
|
+
type: 'options',
|
|
49
|
+
noDataExpression: true,
|
|
50
|
+
displayOptions: {
|
|
51
|
+
show: {
|
|
52
|
+
resource: ['pdf'],
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
options: [
|
|
56
|
+
{
|
|
57
|
+
name: 'Merge PDFs',
|
|
58
|
+
value: 'merge',
|
|
59
|
+
description: 'Combine multiple PDFs into one',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'Split PDF',
|
|
63
|
+
value: 'split',
|
|
64
|
+
description: 'Extract pages from a PDF',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Compress PDF',
|
|
68
|
+
value: 'compress',
|
|
69
|
+
description: 'Reduce PDF file size',
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
default: 'merge',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Operation',
|
|
76
|
+
name: 'operation',
|
|
77
|
+
type: 'options',
|
|
78
|
+
noDataExpression: true,
|
|
79
|
+
displayOptions: {
|
|
80
|
+
show: {
|
|
81
|
+
resource: ['convert'],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
options: [
|
|
85
|
+
{
|
|
86
|
+
name: 'Convert File',
|
|
87
|
+
value: 'convert',
|
|
88
|
+
description: 'Universal converter (PDF to Image, Word to PDF, etc.)',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'HTML to PDF',
|
|
92
|
+
value: 'html-to-pdf',
|
|
93
|
+
description: 'Render HTML or URL to PDF',
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
default: 'convert',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
displayName: 'Target Tool',
|
|
100
|
+
name: 'toolId',
|
|
101
|
+
type: 'options',
|
|
102
|
+
displayOptions: {
|
|
103
|
+
show: {
|
|
104
|
+
resource: ['convert'],
|
|
105
|
+
operation: ['convert'],
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
options: [
|
|
109
|
+
{ name: 'PDF to Image (JPG/PNG)', value: 'pdf-to-image' },
|
|
110
|
+
{ name: 'PDF to Text', value: 'pdf-to-text' },
|
|
111
|
+
{ name: 'Word (DOCX) to PDF', value: 'word-to-pdf' },
|
|
112
|
+
{ name: 'Image to PDF', value: 'image-to-pdf' },
|
|
113
|
+
{ name: 'EPUB to PDF', value: 'epub-to-pdf' },
|
|
114
|
+
{ name: 'OCR (Extract Text)', value: 'ocr' },
|
|
115
|
+
],
|
|
116
|
+
default: 'pdf-to-image',
|
|
117
|
+
description: 'Select the specific conversion tool to use.',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
displayName: 'Input Field Name',
|
|
121
|
+
name: 'binaryPropertyName',
|
|
122
|
+
type: 'string',
|
|
123
|
+
default: 'data',
|
|
124
|
+
required: true,
|
|
125
|
+
displayOptions: {
|
|
126
|
+
hide: {
|
|
127
|
+
operation: ['html-to-pdf'],
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
description: 'The name of the binary property containing the file to process.',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
displayName: 'Source Type',
|
|
134
|
+
name: 'htmlSource',
|
|
135
|
+
type: 'options',
|
|
136
|
+
displayOptions: {
|
|
137
|
+
show: {
|
|
138
|
+
operation: ['html-to-pdf'],
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
options: [
|
|
142
|
+
{ name: 'HTML String', value: 'html' },
|
|
143
|
+
{ name: 'URL', value: 'url' },
|
|
144
|
+
],
|
|
145
|
+
default: 'html',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
displayName: 'HTML Content',
|
|
149
|
+
name: 'htmlContent',
|
|
150
|
+
type: 'string',
|
|
151
|
+
default: '<h1>Hello World</h1>',
|
|
152
|
+
typeOptions: {
|
|
153
|
+
rows: 5,
|
|
154
|
+
},
|
|
155
|
+
displayOptions: {
|
|
156
|
+
show: {
|
|
157
|
+
operation: ['html-to-pdf'],
|
|
158
|
+
htmlSource: ['html'],
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
displayName: 'URL',
|
|
164
|
+
name: 'url',
|
|
165
|
+
type: 'string',
|
|
166
|
+
default: 'https://example.com',
|
|
167
|
+
displayOptions: {
|
|
168
|
+
show: {
|
|
169
|
+
operation: ['html-to-pdf'],
|
|
170
|
+
htmlSource: ['url'],
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
displayName: 'Page Ranges',
|
|
176
|
+
name: 'ranges',
|
|
177
|
+
type: 'string',
|
|
178
|
+
default: '1-2',
|
|
179
|
+
displayOptions: {
|
|
180
|
+
show: {
|
|
181
|
+
operation: ['split'],
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
description: 'Pages to keep (e.g. "1,3,5-10").',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
displayName: 'Output Field Name',
|
|
188
|
+
name: 'outputProperty',
|
|
189
|
+
type: 'string',
|
|
190
|
+
default: 'data',
|
|
191
|
+
description: 'Where to store the resulting file.',
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
async execute() {
|
|
197
|
+
const items = this.getInputData();
|
|
198
|
+
const returnData = [];
|
|
199
|
+
const resource = this.getNodeParameter('resource', 0);
|
|
200
|
+
const operation = this.getNodeParameter('operation', 0);
|
|
201
|
+
for (let i = 0; i < items.length; i++) {
|
|
202
|
+
try {
|
|
203
|
+
let endpoint = '';
|
|
204
|
+
let body = {};
|
|
205
|
+
const formData = new FormData();
|
|
206
|
+
let hasBinary = false;
|
|
207
|
+
if (resource === 'pdf') {
|
|
208
|
+
endpoint = `/${operation}`;
|
|
209
|
+
}
|
|
210
|
+
else if (resource === 'convert') {
|
|
211
|
+
if (operation === 'html-to-pdf') {
|
|
212
|
+
endpoint = '/html-to-pdf';
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
const toolId = this.getNodeParameter('toolId', i);
|
|
216
|
+
endpoint = `/convert?toolId=${toolId}`;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
if (operation === 'html-to-pdf') {
|
|
220
|
+
const source = this.getNodeParameter('htmlSource', i);
|
|
221
|
+
if (source === 'html') {
|
|
222
|
+
body = { html: this.getNodeParameter('htmlContent', i) };
|
|
223
|
+
}
|
|
224
|
+
else {
|
|
225
|
+
body = { url: this.getNodeParameter('url', i) };
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
else {
|
|
229
|
+
const binaryProp = this.getNodeParameter('binaryPropertyName', i);
|
|
230
|
+
if (operation === 'merge') {
|
|
231
|
+
if (items[i].binary && items[i].binary[binaryProp]) {
|
|
232
|
+
const file = await this.helpers.getBinaryDataBuffer(i, binaryProp);
|
|
233
|
+
formData.append('files', file, items[i].binary[binaryProp].fileName || 'input.pdf');
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
else {
|
|
237
|
+
if (items[i].binary && items[i].binary[binaryProp]) {
|
|
238
|
+
const file = await this.helpers.getBinaryDataBuffer(i, binaryProp);
|
|
239
|
+
formData.append('file', file, items[i].binary[binaryProp].fileName || 'input');
|
|
240
|
+
}
|
|
241
|
+
else {
|
|
242
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Binary file not found in property: ' + binaryProp);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
hasBinary = true;
|
|
246
|
+
}
|
|
247
|
+
if (operation === 'split') {
|
|
248
|
+
const ranges = this.getNodeParameter('ranges', i);
|
|
249
|
+
formData.append('ranges', ranges);
|
|
250
|
+
}
|
|
251
|
+
let responseData;
|
|
252
|
+
const options = {
|
|
253
|
+
method: 'POST',
|
|
254
|
+
uri: `https://toolingtools.com/api/v1${endpoint}`,
|
|
255
|
+
json: true,
|
|
256
|
+
encoding: null,
|
|
257
|
+
};
|
|
258
|
+
if (hasBinary) {
|
|
259
|
+
options.body = formData;
|
|
260
|
+
Object.assign(options, {
|
|
261
|
+
headers: {
|
|
262
|
+
...formData.getHeaders(),
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
else {
|
|
267
|
+
options.body = body;
|
|
268
|
+
options.headers = { 'Content-Type': 'application/json' };
|
|
269
|
+
}
|
|
270
|
+
responseData = await this.helpers.requestWithAuthentication.call(this, 'toolingToolsBigBossApi', options);
|
|
271
|
+
const outputProp = this.getNodeParameter('outputProperty', i);
|
|
272
|
+
const newItem = {
|
|
273
|
+
json: { ...items[i].json },
|
|
274
|
+
binary: { ...items[i].binary },
|
|
275
|
+
result: responseData
|
|
276
|
+
};
|
|
277
|
+
if (Buffer.isBuffer(responseData)) {
|
|
278
|
+
newItem.binary[outputProp] = await this.helpers.prepareBinaryData(responseData, 'output.pdf');
|
|
279
|
+
}
|
|
280
|
+
else {
|
|
281
|
+
newItem.json['response'] = responseData;
|
|
282
|
+
}
|
|
283
|
+
returnData.push(newItem);
|
|
284
|
+
}
|
|
285
|
+
catch (error) {
|
|
286
|
+
if (this.continueOnFail()) {
|
|
287
|
+
returnData.push({ json: { error: error.message } });
|
|
288
|
+
continue;
|
|
289
|
+
}
|
|
290
|
+
throw error;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
return [returnData];
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
exports.ToolingToolsBigBoss = ToolingToolsBigBoss;
|
|
297
|
+
//# sourceMappingURL=ToolingToolsBigBoss.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolingToolsBigBoss.node.js","sourceRoot":"","sources":["../../nodes/ToolingToolsBigBoss/ToolingToolsBigBoss.node.ts"],"names":[],"mappings":";;;AAAA,+CAMsB;AAEtB,sCAAsC;AAEtC,MAAa,mBAAmB;IAAhC;QACI,gBAAW,GAAyB;YAChC,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,qBAAqB;YAC3B,IAAI,EAAE,8BAA8B;YACpC,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE;gBACN,IAAI,EAAE,sBAAsB;aAC/B;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACT;oBACI,IAAI,EAAE,wBAAwB;oBAC9B,QAAQ,EAAE,IAAI;iBACjB;aACJ;YACD,UAAU,EAAE;gBACR;oBACI,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACL;4BACI,IAAI,EAAE,WAAW;4BACjB,KAAK,EAAE,KAAK;yBACf;wBACD;4BACI,IAAI,EAAE,WAAW;4BACjB,KAAK,EAAE,SAAS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,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;oBACpD,SAAS;gBACb,CAAC;gBACD,MAAM,KAAK,CAAC;YAChB,CAAC;QACL,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACxB,CAAC;CACJ;AAlVD,kDAkVC"}
|
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "n8n-nodes-toolingtools-bigboss",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Professional PDF and Conversion Tools for n8n via ToolingTools.com",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n8n-community-node-package",
|
|
7
|
+
"pdf",
|
|
8
|
+
"conversion",
|
|
9
|
+
"toolingtools",
|
|
10
|
+
"bigboss",
|
|
11
|
+
"ocr",
|
|
12
|
+
"merge",
|
|
13
|
+
"split",
|
|
14
|
+
"compress"
|
|
15
|
+
],
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"author": {
|
|
18
|
+
"name": "BigBoss",
|
|
19
|
+
"email": "contact@toolingtools.com"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsc && gulp build:icons",
|
|
23
|
+
"dev": "tsc --watch",
|
|
24
|
+
"format": "prettier --write \"**/*.ts\"",
|
|
25
|
+
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
26
|
+
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json"
|
|
27
|
+
},
|
|
28
|
+
"main": "dist/ToolingToolsBigBoss/ToolingToolsBigBoss.node.js",
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"n8n": {
|
|
33
|
+
"n8nNodesApiVersion": 1,
|
|
34
|
+
"nodes": [
|
|
35
|
+
"dist/ToolingToolsBigBoss/ToolingToolsBigBoss.node.js"
|
|
36
|
+
],
|
|
37
|
+
"credentials": [
|
|
38
|
+
"dist/credentials/ToolingToolsBigBossApi.credentials.js"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"n8n-workflow": "*"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"n8n-core": "^1.0.0",
|
|
46
|
+
"n8n-workflow": "^1.0.0",
|
|
47
|
+
"form-data": "^4.0.5"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/node": "^18.16.0",
|
|
51
|
+
"@types/form-data": "^2.2.1",
|
|
52
|
+
"gulp": "^4.0.2",
|
|
53
|
+
"typescript": "^5.0.4",
|
|
54
|
+
"prettier": "^2.8.8",
|
|
55
|
+
"tslint": "^6.1.3"
|
|
56
|
+
}
|
|
57
|
+
}
|