n8n-nodes-surface 0.1.0 → 0.1.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 +30 -7
- package/dist/credentials/SurfaceApi.credentials.js +3 -3
- package/package.json +39 -11
package/README.md
CHANGED
|
@@ -1,18 +1,41 @@
|
|
|
1
1
|
# n8n-nodes-surface
|
|
2
2
|
|
|
3
|
-
Surface
|
|
3
|
+
Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. A hop or a 1×1 pixel counts the same way, with no install. Free for the first million requests a month. https://nova-otter-delta-cloud.grok.me
|
|
4
4
|
|
|
5
|
-
The **Surface Preflight** node
|
|
5
|
+
The **Surface Preflight** node is usable as an n8n AI Agent tool. It unwraps short links (t.co, bit.ly, lnkd.in, youtu.be), follows redirects, and answers `fetch` or `skip`, without returning the page.
|
|
6
|
+
|
|
7
|
+
Surface by Canada Site Ops. Ontario, Canada.
|
|
8
|
+
|
|
9
|
+
## Get a free API key in about 10 seconds
|
|
10
|
+
|
|
11
|
+
No email, no card. Then paste the key into the **Surface API** credential (`apiKey`). n8n sends it as `Authorization` / `X-Surface-Key`.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys
|
|
15
|
+
# returns {"key","created_at","free_monthly":1000000,"usage_url"}
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
A key gets its own million free requests a month. The node also runs without a key on a shared demo limit.
|
|
6
19
|
|
|
7
20
|
## Install
|
|
8
|
-
In n8n: **Settings → Community Nodes → Install** → `n8n-nodes-surface`.
|
|
9
21
|
|
|
10
|
-
|
|
11
|
-
`Surface API` — API key is optional (free up to 1M requests/month). Base URL defaults to `https://nova-otter-delta-cloud.grok.me`.
|
|
22
|
+
In n8n: **Settings → Community Nodes → Install** → `n8n-nodes-surface`.
|
|
12
23
|
|
|
13
24
|
## Output
|
|
25
|
+
|
|
14
26
|
`{ next: "fetch" | "skip", fetch, url, final_url, final_host, status, redirects, shortener, reason }`. On error it answers `skip`.
|
|
15
27
|
|
|
16
|
-
|
|
28
|
+
## Prefer MCP?
|
|
29
|
+
|
|
30
|
+
Mint a key first, then point any MCP client at `https://nova-otter-delta-cloud.grok.me/mcp` (tool `preflight_url`) with `Authorization: Bearer <key>`.
|
|
31
|
+
|
|
32
|
+
## Also listed
|
|
33
|
+
|
|
34
|
+
- Official MCP Registry: `me.grok.nova-otter-delta-cloud/surface`
|
|
35
|
+
- https://www.curatedmcp.com/marketplace/surface
|
|
36
|
+
- https://www.npmjs.com/package/n8n-nodes-surface
|
|
37
|
+
- https://www.npmjs.com/package/@surfaceapi/surface
|
|
38
|
+
- https://pypi.org/project/surfaceapi/
|
|
39
|
+
- https://huggingface.co/spaces/surfaceapi/surface-preflight
|
|
17
40
|
|
|
18
|
-
|
|
41
|
+
CLI and GitHub Action are coming soon.
|
|
@@ -5,10 +5,10 @@ class SurfaceApi {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.name = "surfaceApi";
|
|
7
7
|
this.displayName = "Surface API";
|
|
8
|
-
this.documentationUrl = "https://otter-
|
|
8
|
+
this.documentationUrl = "https://nova-otter-delta-cloud.grok.me";
|
|
9
9
|
this.properties = [
|
|
10
|
-
{ displayName: "API Key
|
|
11
|
-
description: "
|
|
10
|
+
{ displayName: "API Key", name: "apiKey", type: "string", typeOptions: { password: true }, default: "",
|
|
11
|
+
description: "Get a free key in about 10 seconds (no email, no card): POST https://nova-otter-delta-cloud.grok.me/v1/keys — then paste it here. Anonymous calls share a demo limit." },
|
|
12
12
|
{ displayName: "Base URL", name: "baseUrl", type: "string", default: "https://nova-otter-delta-cloud.grok.me" },
|
|
13
13
|
];
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-surface",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Surface
|
|
5
|
-
"keywords": [
|
|
6
|
-
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. n8n Surface Preflight node. Free for the first million requests a month.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n8n-community-node-package",
|
|
7
|
+
"n8n",
|
|
8
|
+
"surface",
|
|
9
|
+
"link-safety",
|
|
10
|
+
"url",
|
|
11
|
+
"preflight",
|
|
12
|
+
"ai-agents",
|
|
13
|
+
"redirect",
|
|
14
|
+
"short-links"
|
|
15
|
+
],
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Canada Site Ops",
|
|
18
|
+
"email": "canada.site.ops@gmail.com"
|
|
19
|
+
},
|
|
7
20
|
"license": "MIT",
|
|
8
|
-
"homepage": "https://otter-
|
|
21
|
+
"homepage": "https://nova-otter-delta-cloud.grok.me",
|
|
9
22
|
"main": "index.js",
|
|
10
|
-
"files": [
|
|
23
|
+
"files": [
|
|
24
|
+
"index.js",
|
|
25
|
+
"dist",
|
|
26
|
+
"README.md",
|
|
27
|
+
"LICENSE"
|
|
28
|
+
],
|
|
11
29
|
"n8n": {
|
|
12
30
|
"n8nNodesApiVersion": 1,
|
|
13
|
-
"credentials": [
|
|
14
|
-
|
|
31
|
+
"credentials": [
|
|
32
|
+
"dist/credentials/SurfaceApi.credentials.js"
|
|
33
|
+
],
|
|
34
|
+
"nodes": [
|
|
35
|
+
"dist/nodes/SurfacePreflight/SurfacePreflight.node.js"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"n8n-workflow": "*"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=18"
|
|
15
43
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
}
|
|
19
47
|
}
|