n8n-nodes-social-scrawler 1.1.1
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/LICENSE.md +19 -0
- package/README.md +247 -0
- package/dist/credentials/BraveApi.credentials.d.ts +10 -0
- package/dist/credentials/BraveApi.credentials.js +43 -0
- package/dist/credentials/BraveApi.credentials.js.map +1 -0
- package/dist/credentials/ScrapecreatorsApi.credentials.d.ts +10 -0
- package/dist/credentials/ScrapecreatorsApi.credentials.js +45 -0
- package/dist/credentials/ScrapecreatorsApi.credentials.js.map +1 -0
- package/dist/credentials/SerpapiApi.credentials.d.ts +10 -0
- package/dist/credentials/SerpapiApi.credentials.js +41 -0
- package/dist/credentials/SerpapiApi.credentials.js.map +1 -0
- package/dist/icons/icon.svg +30 -0
- package/dist/nodes/SocialScraper/Brave.node.d.ts +4 -0
- package/dist/nodes/SocialScraper/Brave.node.js +41 -0
- package/dist/nodes/SocialScraper/Brave.node.js.map +1 -0
- package/dist/nodes/SocialScraper/Brave.node.json +11 -0
- package/dist/nodes/SocialScraper/ScrapeCreators.node.d.ts +4 -0
- package/dist/nodes/SocialScraper/ScrapeCreators.node.js +40 -0
- package/dist/nodes/SocialScraper/ScrapeCreators.node.js.map +1 -0
- package/dist/nodes/SocialScraper/ScrapeCreators.node.json +11 -0
- package/dist/nodes/SocialScraper/Serpapi.node.d.ts +4 -0
- package/dist/nodes/SocialScraper/Serpapi.node.js +40 -0
- package/dist/nodes/SocialScraper/Serpapi.node.js.map +1 -0
- package/dist/nodes/SocialScraper/Serpapi.node.json +11 -0
- package/dist/nodes/SocialScraper/icon.svg +30 -0
- package/dist/nodes/SocialScraper/resources/brave/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/brave/index.js +36 -0
- package/dist/nodes/SocialScraper/resources/brave/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/brave/localDescriptions.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/brave/localDescriptions.js +30 -0
- package/dist/nodes/SocialScraper/resources/brave/localDescriptions.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/brave/localPois.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/brave/localPois.js +30 -0
- package/dist/nodes/SocialScraper/resources/brave/localPois.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/brave/webSearch.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/brave/webSearch.js +240 -0
- package/dist/nodes/SocialScraper/resources/brave/webSearch.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/comment/getAll.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/comment/getAll.js +85 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/comment/getAll.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/comment/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/comment/index.js +29 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/comment/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/facebook/getTranscript.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/facebook/getTranscript.js +31 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/facebook/getTranscript.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/facebook/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/facebook/index.js +29 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/facebook/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/google/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/google/index.js +29 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/google/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/google/search.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/google/search.js +48 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/google/search.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/index.js +106 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/getComments.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/getComments.js +52 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/getComments.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/getPost.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/getPost.js +48 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/getPost.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/index.js +45 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/searchReels.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/searchReels.js +52 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/instagram/searchReels.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/linkedin/getProfile.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/linkedin/getProfile.js +31 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/linkedin/getProfile.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/linkedin/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/linkedin/index.js +29 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/linkedin/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/media/getTranscript.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/media/getTranscript.js +31 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/media/getTranscript.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/media/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/media/index.js +29 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/media/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/get.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/get.js +27 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/get.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/getAll.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/getAll.js +91 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/getAll.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/index.js +37 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/post/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/profile/get.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/profile/get.js +66 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/profile/get.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/profile/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/profile/index.js +29 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/profile/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getPostComments.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getPostComments.js +65 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getPostComments.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getSubredditDetails.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getSubredditDetails.js +75 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getSubredditDetails.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getSubredditPosts.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getSubredditPosts.js +143 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/getSubredditPosts.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/index.js +53 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/search.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/search.js +137 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/reddit/search.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/get.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/get.js +83 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/get.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getComments.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getComments.js +65 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getComments.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getTranscript.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getTranscript.js +99 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getTranscript.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getTrendingFeed.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getTrendingFeed.js +48 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/getTrendingFeed.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/index.js +85 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchHashtag.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchHashtag.js +83 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchHashtag.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchKeyword.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchKeyword.js +155 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchKeyword.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchTop.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchTop.js +139 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchTop.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchUsers.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchUsers.js +64 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktok/searchUsers.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/getProductDetails.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/getProductDetails.js +66 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/getProductDetails.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/getProducts.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/getProducts.js +51 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/getProducts.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/index.js +45 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/search.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/search.js +52 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/tiktokShop/search.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getTranscript.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getTranscript.js +31 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getTranscript.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getTweet.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getTweet.js +48 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getTweet.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getUserTweets.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getUserTweets.js +48 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/getUserTweets.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/index.js +45 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/twitter/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/video/get.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/video/get.js +83 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/video/get.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getChannelDetails.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getChannelDetails.js +103 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getChannelDetails.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getChannelVideos.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getChannelVideos.js +138 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getChannelVideos.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getComments.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getComments.js +76 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getComments.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getTranscript.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getTranscript.js +31 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/getTranscript.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/index.js +69 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/search.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/search.js +158 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/search.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/searchHashtag.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/searchHashtag.js +76 -0
- package/dist/nodes/SocialScraper/resources/scrapecreators/youtube/searchHashtag.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/serpapi/index.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/serpapi/index.js +22 -0
- package/dist/nodes/SocialScraper/resources/serpapi/index.js.map +1 -0
- package/dist/nodes/SocialScraper/resources/serpapi/search.d.ts +2 -0
- package/dist/nodes/SocialScraper/resources/serpapi/search.js +523 -0
- package/dist/nodes/SocialScraper/resources/serpapi/search.js.map +1 -0
- package/dist/nodes/SocialScraper/shared/descriptions.d.ts +3 -0
- package/dist/nodes/SocialScraper/shared/descriptions.js +52 -0
- package/dist/nodes/SocialScraper/shared/descriptions.js.map +1 -0
- package/dist/nodes/SocialScraper/shared/transport.d.ts +5 -0
- package/dist/nodes/SocialScraper/shared/transport.js +64 -0
- package/dist/nodes/SocialScraper/shared/transport.js.map +1 -0
- package/dist/nodes/SocialScraper/shared/utils.d.ts +6 -0
- package/dist/nodes/SocialScraper/shared/utils.js +37 -0
- package/dist/nodes/SocialScraper/shared/utils.js.map +1 -0
- package/dist/package.json +68 -0
- package/package.json +68 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2022 n8n
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
+
the Software without restriction, including without limitation the rights to
|
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
+
so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# n8n-nodes-starter
|
|
4
|
+
|
|
5
|
+
This starter repository helps you build custom integrations for [n8n](https://n8n.io). It includes example nodes, credentials, the node linter, and all the tooling you need to get started.
|
|
6
|
+
|
|
7
|
+
## Quick Start
|
|
8
|
+
|
|
9
|
+
> [!TIP]
|
|
10
|
+
> **New to building n8n nodes?** The fastest way to get started is with `npm create @n8n/node`. This command scaffolds a complete node package for you using the [@n8n/node-cli](https://www.npmjs.com/package/@n8n/node-cli).
|
|
11
|
+
|
|
12
|
+
**To create a new node package from scratch:**
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm create @n8n/node
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**Already using this starter? Start developing with:**
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm run dev
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
This starts n8n with your nodes loaded and hot reload enabled.
|
|
25
|
+
|
|
26
|
+
## What's Included
|
|
27
|
+
|
|
28
|
+
This starter repository includes two example nodes to learn from:
|
|
29
|
+
|
|
30
|
+
- **[Example Node](nodes/Example/)** - A simple starter node that shows the basic structure with a custom `execute` method
|
|
31
|
+
- **[GitHub Issues Node](nodes/GithubIssues/)** - A complete, production-ready example built using the **declarative style**:
|
|
32
|
+
- **Low-code approach** - Define operations declaratively without writing request logic
|
|
33
|
+
- Multiple resources (Issues, Comments)
|
|
34
|
+
- Multiple operations (Get, Get All, Create)
|
|
35
|
+
- Two authentication methods (OAuth2 and Personal Access Token)
|
|
36
|
+
- List search functionality for dynamic dropdowns
|
|
37
|
+
- Proper error handling and typing
|
|
38
|
+
- Ideal for HTTP API-based integrations
|
|
39
|
+
|
|
40
|
+
> [!TIP]
|
|
41
|
+
> The declarative/low-code style (used in GitHub Issues) is the recommended approach for building nodes that interact with HTTP APIs. It significantly reduces boilerplate code and handles requests automatically.
|
|
42
|
+
|
|
43
|
+
Browse these examples to understand both approaches, then modify them or create your own.
|
|
44
|
+
|
|
45
|
+
## Finding Inspiration
|
|
46
|
+
|
|
47
|
+
Looking for more examples? Check out these resources:
|
|
48
|
+
|
|
49
|
+
- **[npm Community Nodes](https://www.npmjs.com/search?q=keywords:n8n-community-node-package)** - Browse thousands of community-built nodes on npm using the `n8n-community-node-package` tag
|
|
50
|
+
- **[n8n Built-in Nodes](https://github.com/n8n-io/n8n/tree/master/packages/nodes-base/nodes)** - Study the source code of n8n's official nodes for production-ready patterns and best practices
|
|
51
|
+
- **[n8n Credentials](https://github.com/n8n-io/n8n/tree/master/packages/nodes-base/credentials)** - See how authentication is implemented for various services
|
|
52
|
+
|
|
53
|
+
These are excellent resources to understand how to structure your nodes, handle different API patterns, and implement advanced features.
|
|
54
|
+
|
|
55
|
+
## Prerequisites
|
|
56
|
+
|
|
57
|
+
Before you begin, install the following on your development machine:
|
|
58
|
+
|
|
59
|
+
### Required
|
|
60
|
+
|
|
61
|
+
- **[Node.js](https://nodejs.org/)** (v22 or higher) and npm
|
|
62
|
+
- Linux/Mac/WSL: Install via [nvm](https://github.com/nvm-sh/nvm)
|
|
63
|
+
- Windows: Follow [Microsoft's NodeJS guide](https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows)
|
|
64
|
+
- **[git](https://git-scm.com/downloads)**
|
|
65
|
+
|
|
66
|
+
### Recommended
|
|
67
|
+
|
|
68
|
+
- Follow n8n's [development environment setup guide](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/)
|
|
69
|
+
|
|
70
|
+
> [!NOTE]
|
|
71
|
+
> The `@n8n/node-cli` is included as a dev dependency and will be installed automatically when you run `npm install`. The CLI includes n8n for local development, so you don't need to install n8n globally.
|
|
72
|
+
|
|
73
|
+
## Getting Started with this Starter
|
|
74
|
+
|
|
75
|
+
Follow these steps to create your own n8n community node package:
|
|
76
|
+
|
|
77
|
+
### 1. Create Your Repository
|
|
78
|
+
|
|
79
|
+
[Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template, then clone it:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
git clone https://github.com/<your-organization>/<your-repo-name>.git
|
|
83
|
+
cd <your-repo-name>
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### 2. Install Dependencies
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
npm install
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
This installs all required dependencies including the `@n8n/node-cli`.
|
|
93
|
+
|
|
94
|
+
### 3. Explore the Examples
|
|
95
|
+
|
|
96
|
+
Browse the example nodes in [nodes/](nodes/) and [credentials/](credentials/) to understand the structure:
|
|
97
|
+
|
|
98
|
+
- Start with [nodes/Example/](nodes/Example/) for a basic node
|
|
99
|
+
- Study [nodes/GithubIssues/](nodes/GithubIssues/) for a real-world implementation
|
|
100
|
+
|
|
101
|
+
### 4. Build Your Node
|
|
102
|
+
|
|
103
|
+
Edit the example nodes to fit your use case, or create new node files by copying the structure from [nodes/Example/](nodes/Example/).
|
|
104
|
+
|
|
105
|
+
> [!TIP]
|
|
106
|
+
> If you want to scaffold a completely new node package, use `npm create @n8n/node` to start fresh with the CLI's interactive generator.
|
|
107
|
+
|
|
108
|
+
### 5. Configure Your Package
|
|
109
|
+
|
|
110
|
+
Update `package.json` with your details:
|
|
111
|
+
|
|
112
|
+
- `name` - Your package name (must start with `n8n-nodes-`)
|
|
113
|
+
- `author` - Your name and email
|
|
114
|
+
- `repository` - Your repository URL
|
|
115
|
+
- `description` - What your node does
|
|
116
|
+
|
|
117
|
+
Make sure your node is registered in the `n8n.nodes` array.
|
|
118
|
+
|
|
119
|
+
### 6. Develop and Test Locally
|
|
120
|
+
|
|
121
|
+
Start n8n with your node loaded:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
npm run dev
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
This command runs `n8n-node dev` which:
|
|
128
|
+
|
|
129
|
+
- Builds your node with watch mode
|
|
130
|
+
- Starts n8n with your node available
|
|
131
|
+
- Automatically rebuilds when you make changes
|
|
132
|
+
- Opens n8n in your browser (usually http://localhost:5678)
|
|
133
|
+
|
|
134
|
+
You can now test your node in n8n workflows!
|
|
135
|
+
|
|
136
|
+
> [!NOTE]
|
|
137
|
+
> Learn more about CLI commands in the [@n8n/node-cli documentation](https://www.npmjs.com/package/@n8n/node-cli).
|
|
138
|
+
|
|
139
|
+
### 7. Lint Your Code
|
|
140
|
+
|
|
141
|
+
Check for errors:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
npm run lint
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Auto-fix issues when possible:
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
npm run lint:fix
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### 8. Build for Production
|
|
154
|
+
|
|
155
|
+
When ready to publish:
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
npm run build
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
This compiles your TypeScript code to the `dist/` folder.
|
|
162
|
+
|
|
163
|
+
### 9. Prepare for Publishing
|
|
164
|
+
|
|
165
|
+
Before publishing:
|
|
166
|
+
|
|
167
|
+
1. **Update documentation**: Replace this README with your node's documentation. Use [README_TEMPLATE.md](README_TEMPLATE.md) as a starting point.
|
|
168
|
+
2. **Update the LICENSE**: Add your details to the [LICENSE](LICENSE.md) file.
|
|
169
|
+
3. **Test thoroughly**: Ensure your node works in different scenarios.
|
|
170
|
+
|
|
171
|
+
### 10. Publish to npm
|
|
172
|
+
|
|
173
|
+
Publish your package to make it available to the n8n community:
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
npm publish
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Learn more about [publishing to npm](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).
|
|
180
|
+
|
|
181
|
+
### 11. Submit for Verification (Optional)
|
|
182
|
+
|
|
183
|
+
Get your node verified for n8n Cloud:
|
|
184
|
+
|
|
185
|
+
1. Ensure your node meets the [requirements](https://docs.n8n.io/integrations/creating-nodes/deploy/submit-community-nodes/):
|
|
186
|
+
- Uses MIT license ✅ (included in this starter)
|
|
187
|
+
- No external package dependencies
|
|
188
|
+
- Follows n8n's design guidelines
|
|
189
|
+
- Passes quality and security review
|
|
190
|
+
|
|
191
|
+
2. Submit through the [n8n Creator Portal](https://creators.n8n.io/nodes)
|
|
192
|
+
|
|
193
|
+
**Benefits of verification:**
|
|
194
|
+
|
|
195
|
+
- Available directly in n8n Cloud
|
|
196
|
+
- Discoverable in the n8n nodes panel
|
|
197
|
+
- Verified badge for quality assurance
|
|
198
|
+
- Increased visibility in the n8n community
|
|
199
|
+
|
|
200
|
+
## Available Scripts
|
|
201
|
+
|
|
202
|
+
This starter includes several npm scripts to streamline development:
|
|
203
|
+
|
|
204
|
+
| Script | Description |
|
|
205
|
+
| --------------------- | ---------------------------------------------------------------- |
|
|
206
|
+
| `npm run dev` | Start n8n with your node and watch for changes (runs `n8n-node dev`) |
|
|
207
|
+
| `npm run build` | Compile TypeScript to JavaScript for production (runs `n8n-node build`) |
|
|
208
|
+
| `npm run build:watch` | Build in watch mode (auto-rebuild on changes) |
|
|
209
|
+
| `npm run lint` | Check your code for errors and style issues (runs `n8n-node lint`) |
|
|
210
|
+
| `npm run lint:fix` | Automatically fix linting issues when possible (runs `n8n-node lint --fix`) |
|
|
211
|
+
| `npm run release` | Create a new release (runs `n8n-node release`) |
|
|
212
|
+
|
|
213
|
+
> [!TIP]
|
|
214
|
+
> These scripts use the [@n8n/node-cli](https://www.npmjs.com/package/@n8n/node-cli) under the hood. You can also run CLI commands directly, e.g., `npx n8n-node dev`.
|
|
215
|
+
|
|
216
|
+
## Troubleshooting
|
|
217
|
+
|
|
218
|
+
### My node doesn't appear in n8n
|
|
219
|
+
|
|
220
|
+
1. Make sure you ran `npm install` to install dependencies
|
|
221
|
+
2. Check that your node is listed in `package.json` under `n8n.nodes`
|
|
222
|
+
3. Restart the dev server with `npm run dev`
|
|
223
|
+
4. Check the console for any error messages
|
|
224
|
+
|
|
225
|
+
### Linting errors
|
|
226
|
+
|
|
227
|
+
Run `npm run lint:fix` to automatically fix most common issues. For remaining errors, check the [n8n node development guidelines](https://docs.n8n.io/integrations/creating-nodes/).
|
|
228
|
+
|
|
229
|
+
### TypeScript errors
|
|
230
|
+
|
|
231
|
+
Make sure you're using Node.js v22 or higher and have run `npm install` to get all type definitions.
|
|
232
|
+
|
|
233
|
+
## Resources
|
|
234
|
+
|
|
235
|
+
- **[n8n Node Documentation](https://docs.n8n.io/integrations/creating-nodes/)** - Complete guide to building nodes
|
|
236
|
+
- **[n8n Community Forum](https://community.n8n.io/)** - Get help and share your nodes
|
|
237
|
+
- **[@n8n/node-cli Documentation](https://www.npmjs.com/package/@n8n/node-cli)** - CLI tool reference
|
|
238
|
+
- **[n8n Creator Portal](https://creators.n8n.io/nodes)** - Submit your node for verification
|
|
239
|
+
- **[Submit Community Nodes Guide](https://docs.n8n.io/integrations/creating-nodes/deploy/submit-community-nodes/)** - Verification requirements and process
|
|
240
|
+
|
|
241
|
+
## Contributing
|
|
242
|
+
|
|
243
|
+
Have suggestions for improving this starter? [Open an issue](https://github.com/n8n-io/n8n-nodes-starter/issues) or submit a pull request!
|
|
244
|
+
|
|
245
|
+
## License
|
|
246
|
+
|
|
247
|
+
[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class BraveApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BraveApi = void 0;
|
|
4
|
+
class BraveApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'braveApi';
|
|
7
|
+
this.displayName = 'Brave Search API';
|
|
8
|
+
this.icon = 'file:../icons/icon.svg';
|
|
9
|
+
this.documentationUrl = 'https://api.search.brave.com';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'API Key',
|
|
13
|
+
name: 'apiKey',
|
|
14
|
+
type: 'string',
|
|
15
|
+
typeOptions: { password: true },
|
|
16
|
+
default: '',
|
|
17
|
+
description: 'Your Brave Search API subscription token',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
this.authenticate = {
|
|
21
|
+
type: 'generic',
|
|
22
|
+
properties: {
|
|
23
|
+
headers: {
|
|
24
|
+
'X-Subscription-Token': '={{$credentials?.apiKey}}',
|
|
25
|
+
'Accept': 'application/json',
|
|
26
|
+
'Accept-Encoding': 'gzip',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
this.test = {
|
|
31
|
+
request: {
|
|
32
|
+
baseURL: 'https://api.search.brave.com',
|
|
33
|
+
url: '/res/v1/web/search',
|
|
34
|
+
method: 'GET',
|
|
35
|
+
qs: {
|
|
36
|
+
q: 'test',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.BraveApi = BraveApi;
|
|
43
|
+
//# sourceMappingURL=BraveApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BraveApi.credentials.js","sourceRoot":"","sources":["../../credentials/BraveApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,QAAQ;IAArB;QACC,SAAI,GAAG,UAAU,CAAC;QAElB,gBAAW,GAAG,kBAAkB,CAAC;QAEjC,SAAI,GAAS,wBAAwB,CAAC;QAEtC,qBAAgB,GAAG,8BAA8B,CAAC;QAElD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0CAA0C;aACvD;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,sBAAsB,EAAE,2BAA2B;oBACnD,QAAQ,EAAE,kBAAkB;oBAC5B,iBAAiB,EAAE,MAAM;iBACzB;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,8BAA8B;gBACvC,GAAG,EAAE,oBAAoB;gBACzB,MAAM,EAAE,KAAK;gBACb,EAAE,EAAE;oBACH,CAAC,EAAE,MAAM;iBACT;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAzCD,4BAyCC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class ScrapecreatorsApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScrapecreatorsApi = void 0;
|
|
4
|
+
class ScrapecreatorsApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'scrapecreatorsApi';
|
|
7
|
+
this.displayName = 'ScrapeCreators API';
|
|
8
|
+
this.icon = 'file:../icons/icon.svg';
|
|
9
|
+
this.documentationUrl = 'https://docs.scrapecreators.com';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'API Key',
|
|
13
|
+
name: 'apiKey',
|
|
14
|
+
type: 'string',
|
|
15
|
+
typeOptions: { password: true },
|
|
16
|
+
default: '',
|
|
17
|
+
description: 'Your ScrapeCreators API key',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Base URL',
|
|
21
|
+
name: 'baseUrl',
|
|
22
|
+
type: 'string',
|
|
23
|
+
default: 'https://api.scrapecreators.com',
|
|
24
|
+
description: 'The base URL for the ScrapeCreators API',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
this.authenticate = {
|
|
28
|
+
type: 'generic',
|
|
29
|
+
properties: {
|
|
30
|
+
headers: {
|
|
31
|
+
'X-API-Key': '={{$credentials?.apiKey}}',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
this.test = {
|
|
36
|
+
request: {
|
|
37
|
+
baseURL: '={{$credentials?.baseUrl || "https://api.scrapecreators.com"}}',
|
|
38
|
+
url: '/health',
|
|
39
|
+
method: 'GET',
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.ScrapecreatorsApi = ScrapecreatorsApi;
|
|
45
|
+
//# sourceMappingURL=ScrapecreatorsApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrapecreatorsApi.credentials.js","sourceRoot":"","sources":["../../credentials/ScrapecreatorsApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,iBAAiB;IAA9B;QACC,SAAI,GAAG,mBAAmB,CAAC;QAE3B,gBAAW,GAAG,oBAAoB,CAAC;QAEnC,SAAI,GAAS,wBAAwB,CAAC;QAEtC,qBAAgB,GAAG,iCAAiC,CAAC;QAErD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,6BAA6B;aAC1C;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,gCAAgC;gBACzC,WAAW,EAAE,yCAAyC;aACtD;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,WAAW,EAAE,2BAA2B;iBACxC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,gEAAgE;gBACzE,GAAG,EAAE,SAAS;gBACd,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA3CD,8CA2CC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class SerpapiApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
icon: Icon;
|
|
6
|
+
documentationUrl: string;
|
|
7
|
+
properties: INodeProperties[];
|
|
8
|
+
authenticate: IAuthenticateGeneric;
|
|
9
|
+
test: ICredentialTestRequest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SerpapiApi = void 0;
|
|
4
|
+
class SerpapiApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'serpapiApi';
|
|
7
|
+
this.displayName = 'SerpAPI API';
|
|
8
|
+
this.icon = 'file:../icons/icon.svg';
|
|
9
|
+
this.documentationUrl = 'https://serpapi.com/search-api';
|
|
10
|
+
this.properties = [
|
|
11
|
+
{
|
|
12
|
+
displayName: 'API Key',
|
|
13
|
+
name: 'apiKey',
|
|
14
|
+
type: 'string',
|
|
15
|
+
typeOptions: { password: true },
|
|
16
|
+
default: '',
|
|
17
|
+
description: 'Your SerpAPI private key',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
this.authenticate = {
|
|
21
|
+
type: 'generic',
|
|
22
|
+
properties: {
|
|
23
|
+
qs: {
|
|
24
|
+
api_key: '={{$credentials?.apiKey}}',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
this.test = {
|
|
29
|
+
request: {
|
|
30
|
+
baseURL: 'https://serpapi.com',
|
|
31
|
+
url: '/search',
|
|
32
|
+
method: 'GET',
|
|
33
|
+
qs: {
|
|
34
|
+
q: 'test',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.SerpapiApi = SerpapiApi;
|
|
41
|
+
//# sourceMappingURL=SerpapiApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SerpapiApi.credentials.js","sourceRoot":"","sources":["../../credentials/SerpapiApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,UAAU;IAAvB;QACC,SAAI,GAAG,YAAY,CAAC;QAEpB,gBAAW,GAAG,aAAa,CAAC;QAE5B,SAAI,GAAS,wBAAwB,CAAC;QAEtC,qBAAgB,GAAG,gCAAgC,CAAC;QAEpD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0BAA0B;aACvC;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,EAAE,EAAE;oBACH,OAAO,EAAE,2BAA2B;iBACpC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,qBAAqB;gBAC9B,GAAG,EAAE,SAAS;gBACd,MAAM,EAAE,KAAK;gBACb,EAAE,EAAE;oBACH,CAAC,EAAE,MAAM;iBACT;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAvCD,gCAuCC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- Background circle -->
|
|
3
|
+
<circle cx="30" cy="30" r="28" fill="#6366F1" stroke="#4F46E5" stroke-width="2"/>
|
|
4
|
+
|
|
5
|
+
<!-- Network/Connection lines -->
|
|
6
|
+
<path d="M15 25 L25 20 L35 25 L45 20" stroke="white" stroke-width="2" stroke-linecap="round" fill="none" opacity="0.9"/>
|
|
7
|
+
<path d="M15 35 L25 30 L35 35 L45 30" stroke="white" stroke-width="2" stroke-linecap="round" fill="none" opacity="0.9"/>
|
|
8
|
+
|
|
9
|
+
<!-- Social media nodes -->
|
|
10
|
+
<circle cx="15" cy="25" r="4" fill="white"/>
|
|
11
|
+
<circle cx="25" cy="20" r="4" fill="white"/>
|
|
12
|
+
<circle cx="35" cy="25" r="4" fill="white"/>
|
|
13
|
+
<circle cx="45" cy="20" r="4" fill="white"/>
|
|
14
|
+
<circle cx="15" cy="35" r="4" fill="white"/>
|
|
15
|
+
<circle cx="25" cy="30" r="4" fill="white"/>
|
|
16
|
+
<circle cx="35" cy="35" r="4" fill="white"/>
|
|
17
|
+
<circle cx="45" cy="30" r="4" fill="white"/>
|
|
18
|
+
|
|
19
|
+
<!-- Scraper/Data collection indicator (arrow pointing down) -->
|
|
20
|
+
<path d="M30 40 L30 50 M25 45 L30 50 L35 45" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
21
|
+
|
|
22
|
+
<!-- Small data dots -->
|
|
23
|
+
<circle cx="20" cy="45" r="1.5" fill="white" opacity="0.8"/>
|
|
24
|
+
<circle cx="25" cy="47" r="1.5" fill="white" opacity="0.8"/>
|
|
25
|
+
<circle cx="30" cy="45" r="1.5" fill="white" opacity="0.8"/>
|
|
26
|
+
<circle cx="35" cy="47" r="1.5" fill="white" opacity="0.8"/>
|
|
27
|
+
<circle cx="40" cy="45" r="1.5" fill="white" opacity="0.8"/>
|
|
28
|
+
</svg>
|
|
29
|
+
|
|
30
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Brave = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const brave_1 = require("./resources/brave");
|
|
6
|
+
class Brave {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.description = {
|
|
9
|
+
displayName: 'Brave Search',
|
|
10
|
+
name: 'brave',
|
|
11
|
+
icon: 'file:icon.svg',
|
|
12
|
+
group: ['transform'],
|
|
13
|
+
version: 1,
|
|
14
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
15
|
+
description: 'Search the web using Brave Search API',
|
|
16
|
+
defaults: {
|
|
17
|
+
name: 'Brave Search',
|
|
18
|
+
},
|
|
19
|
+
usableAsTool: true,
|
|
20
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
21
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
22
|
+
credentials: [
|
|
23
|
+
{
|
|
24
|
+
name: 'braveApi',
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
requestDefaults: {
|
|
29
|
+
baseURL: 'https://api.search.brave.com',
|
|
30
|
+
headers: {
|
|
31
|
+
Accept: 'application/json',
|
|
32
|
+
'Accept-Encoding': 'gzip',
|
|
33
|
+
'Content-Type': 'application/json',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
properties: [...brave_1.braveDescription],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.Brave = Brave;
|
|
41
|
+
//# sourceMappingURL=Brave.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Brave.node.js","sourceRoot":"","sources":["../../../nodes/SocialScraper/Brave.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,6CAAqD;AAErD,MAAa,KAAK;IAAlB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,uCAAuC;YACpD,QAAQ,EAAE;gBACT,IAAI,EAAE,cAAc;aACpB;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,UAAU;oBAChB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,8BAA8B;gBACvC,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,iBAAiB,EAAE,MAAM;oBACzB,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE,CAAC,GAAG,wBAAgB,CAAC;SACjC,CAAC;IACH,CAAC;CAAA;AA/BD,sBA+BC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScrapeCreators = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const scrapecreators_1 = require("./resources/scrapecreators");
|
|
6
|
+
class ScrapeCreators {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.description = {
|
|
9
|
+
displayName: 'ScrapeCreators',
|
|
10
|
+
name: 'scrapeCreators',
|
|
11
|
+
icon: 'file:icon.svg',
|
|
12
|
+
group: ['transform'],
|
|
13
|
+
version: 1,
|
|
14
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
15
|
+
description: 'Scrape data from various social media platforms using ScrapeCreators API',
|
|
16
|
+
defaults: {
|
|
17
|
+
name: 'ScrapeCreators',
|
|
18
|
+
},
|
|
19
|
+
usableAsTool: true,
|
|
20
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
21
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
22
|
+
credentials: [
|
|
23
|
+
{
|
|
24
|
+
name: 'scrapecreatorsApi',
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
requestDefaults: {
|
|
29
|
+
baseURL: '={{$credentials?.scrapecreatorsApi?.baseUrl || "https://api.scrapecreators.com"}}',
|
|
30
|
+
headers: {
|
|
31
|
+
Accept: 'application/json',
|
|
32
|
+
'Content-Type': 'application/json',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
properties: [...scrapecreators_1.scrapecreatorsDescription],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.ScrapeCreators = ScrapeCreators;
|
|
40
|
+
//# sourceMappingURL=ScrapeCreators.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrapeCreators.node.js","sourceRoot":"","sources":["../../../nodes/SocialScraper/ScrapeCreators.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,+DAAuE;AAEvE,MAAa,cAAc;IAA3B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,0EAA0E;YACvF,QAAQ,EAAE;gBACT,IAAI,EAAE,gBAAgB;aACtB;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,mBAAmB;oBACzB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,mFAAmF;gBAC5F,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE,CAAC,GAAG,0CAAyB,CAAC;SAC1C,CAAC;IACH,CAAC;CAAA;AA9BD,wCA8BC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "n8n-nodes-social-scrawler.scrapeCreators",
|
|
3
|
+
"nodeVersion": 1,
|
|
4
|
+
"codexVersion": 1,
|
|
5
|
+
"categories": ["Development"],
|
|
6
|
+
"resources": {
|
|
7
|
+
"credentialDocumentation": [],
|
|
8
|
+
"primaryDocumentation": []
|
|
9
|
+
},
|
|
10
|
+
"alias": ["ScrapeCreators", "Social Media", "Scraper"]
|
|
11
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Serpapi = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const serpapi_1 = require("./resources/serpapi");
|
|
6
|
+
class Serpapi {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.description = {
|
|
9
|
+
displayName: 'SerpAPI',
|
|
10
|
+
name: 'serpapi',
|
|
11
|
+
icon: 'file:icon.svg',
|
|
12
|
+
group: ['transform'],
|
|
13
|
+
version: 1,
|
|
14
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
15
|
+
description: 'Search Google using SerpAPI',
|
|
16
|
+
defaults: {
|
|
17
|
+
name: 'SerpAPI',
|
|
18
|
+
},
|
|
19
|
+
usableAsTool: true,
|
|
20
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
21
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
22
|
+
credentials: [
|
|
23
|
+
{
|
|
24
|
+
name: 'serpapiApi',
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
requestDefaults: {
|
|
29
|
+
baseURL: 'https://serpapi.com',
|
|
30
|
+
headers: {
|
|
31
|
+
Accept: 'application/json',
|
|
32
|
+
'Content-Type': 'application/json',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
properties: [...serpapi_1.serpapiDescription],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.Serpapi = Serpapi;
|
|
40
|
+
//# sourceMappingURL=Serpapi.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Serpapi.node.js","sourceRoot":"","sources":["../../../nodes/SocialScraper/Serpapi.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,iDAAyD;AAEzD,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,YAAY;oBAClB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,qBAAqB;gBAC9B,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE,CAAC,GAAG,4BAAkB,CAAC;SACnC,CAAC;IACH,CAAC;CAAA;AA9BD,0BA8BC"}
|