n8n-nodes-rendex 1.4.0 → 1.4.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # n8n-nodes-rendex
2
2
 
3
- > n8n community node for [Rendex](https://rendex.dev) — capture screenshots, generate PDFs, and render HTML and Markdown to images via the Rendex rendering API.
3
+ > n8n community node for [Rendex](https://rendex.dev) — capture screenshots, generate PDFs, render HTML and Markdown to images, and extract clean content from URLs via the Rendex rendering API.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/n8n-nodes-rendex)](https://www.npmjs.com/package/n8n-nodes-rendex)
6
6
  [![license](https://img.shields.io/npm/l/n8n-nodes-rendex)](LICENSE)
@@ -12,8 +12,12 @@ This is a community node for [n8n](https://n8n.io), the fair-code workflow autom
12
12
  ## Features
13
13
 
14
14
  - **Capture screenshots** of live URLs, raw HTML, or Markdown (up to 5 MB of HTML/Markdown)
15
+ - **Extract content** — turn any URL into clean reader-mode **Markdown, JSON, or HTML** for LLM and RAG pipelines (Document → Extract)
15
16
  - **Data templating** — fill `{{placeholders}}` in an HTML or Markdown template from a JSON object (Mustache) to generate invoices, reports, and certificates from one template
16
17
  - **Generate PDFs** with configurable page size, margins, landscape, and scale
18
+ - **Device presets** — render at iPhone, iPad, or Pixel viewports (sets viewport, scale, and user agent in one option)
19
+ - **Output resize** — downscale captures to thumbnails, aspect ratio preserved
20
+ - **Clean capture** — hide cookie/consent banners and arbitrary CSS selectors before capture
17
21
  - **Async mode** — submit a capture and receive an HMAC-signed webhook when it's done
18
22
  - **Batch mode** — submit up to 500 URLs in a single request (plan-dependent)
19
23
  - **Geo-targeted captures** — render pages as seen from a specific country, city, or state *(Pro/Enterprise)*
@@ -61,6 +65,12 @@ Rendex keys are bearer tokens sent as `Authorization: Bearer rdx_...`. The node
61
65
  | **Capture** | Sync request that returns an image or PDF. Output is written to the node's binary property (default `data`) plus a JSON metadata object. |
62
66
  | **Capture Async** | Submits a job and returns immediately with a `jobId`. Optional `webhookUrl` is called with an HMAC-signed payload when the capture completes. |
63
67
 
68
+ ### Document
69
+
70
+ | Operation | What it does |
71
+ |---|---|
72
+ | **Extract** | Fetches a URL, runs reader-mode extraction in the fully rendered page (handles JS/SPA pages), and returns clean **Markdown**, **JSON**, or **HTML** — title, byline, excerpt, site name, and content. Ideal for feeding pages to LLM/RAG nodes. |
73
+
64
74
  ### Job
65
75
 
66
76
  | Operation | What it does |
@@ -94,6 +104,13 @@ Rendex keys are bearer tokens sent as `Authorization: Bearer rdx_...`. The node
94
104
 
95
105
  `Template Data (JSON)` is logic-less Mustache: `{{var}}` interpolation, `{{#items}}…{{/items}}` loops, and nested `{{a.b}}` access. It only applies to **HTML** and **Markdown** sources.
96
106
 
107
+ ## Example: extract a page to Markdown for an LLM
108
+
109
+ 1. Add a **Rendex** node, set **Resource** = `Document`, **Operation** = `Extract`
110
+ 2. Enter the article **URL** (e.g. `https://example.com/blog/post`)
111
+ 3. Leave **Extract Format** = `Markdown` (or pick `JSON`/`HTML`)
112
+ 4. Execute — the output JSON has `content` (clean Markdown), plus `title`, `byline`, `excerpt`, `siteName`, and `length`. Map `content` straight into an **AI Agent**, **OpenAI**, or vector-store node — no HTML stripping needed.
113
+
97
114
  ## Example: async + webhook trigger
98
115
 
99
116
  1. Add a **Rendex** node, set **Operation** = `Capture Async`
@@ -129,10 +146,11 @@ See [rendex.dev/pricing](https://rendex.dev/pricing) for current pricing.
129
146
  The **Capture** and **Capture Async** operations expose an **Additional Options** collection with the full Rendex parameter surface:
130
147
 
131
148
  - **Viewport**: Width, Height, Device Scale Factor, Full Page, Dark Mode
149
+ - **Device & sizing**: Device preset (iPhone/iPad/Pixel), Resize Width, Resize Height
132
150
  - **Output**: Quality (for JPEG/WebP)
133
151
  - **Wait strategy**: Wait Until, Timeout, Delay, Wait For Selector, Best Attempt
134
152
  - **Element capture**: Element Selector
135
- - **Blocking**: Block Ads, Block Resource Types
153
+ - **Blocking**: Block Ads, Block Resource Types, Block Cookie Banners, Hide Selectors
136
154
  - **Injection**: Custom CSS, Custom JavaScript, Custom Headers (JSON), Cookies (JSON), User Agent
137
155
  - **PDF**: PDF Page Format, PDF Landscape, PDF Print Background, PDF Scale, PDF Margins (JSON)
138
156
  - **Geo-targeting**: Geo Country, Geo City, Geo State *(Pro/Enterprise)*
@@ -1,8 +1,8 @@
1
1
  {
2
- "node": "n8n-nodes-base.rendex",
2
+ "node": "n8n-nodes-rendex.rendex",
3
3
  "nodeVersion": "1.0",
4
4
  "codexVersion": "1.0",
5
- "categories": ["Development", "Marketing", "Productivity"],
5
+ "categories": ["Development", "Marketing & Content", "Productivity"],
6
6
  "resources": {
7
7
  "credentialDocumentation": [
8
8
  {
@@ -15,5 +15,5 @@
15
15
  }
16
16
  ]
17
17
  },
18
- "alias": ["screenshot", "pdf", "html", "render", "capture", "rendex"]
18
+ "alias": ["screenshot", "pdf", "html", "render", "capture", "rendex", "markdown", "extract"]
19
19
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "n8n-nodes-rendex",
3
- "version": "1.4.0",
4
- "description": "n8n community node for Rendex — capture screenshots, generate PDFs, and render HTML via Rendex's rendering API",
3
+ "version": "1.4.2",
4
+ "description": "n8n community node for Rendex — capture screenshots, generate PDFs, render HTML/Markdown, and extract clean Markdown/JSON/HTML content from URLs via Rendex's rendering API",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
7
7
  "n8n",