n8n-nodes-searxng
Version:
n8n community node for SearXNG search engine with AI agent support
36 lines • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SearxngApi = void 0;
class SearxngApi {
constructor() {
this.name = "searxngApi";
this.displayName = "Searxng API";
this.properties = [
{
displayName: "API URL",
name: "apiUrl",
type: "string",
default: "http://searxng:8080",
},
{
displayName: "API Key",
name: "apiKey",
type: "string",
default: "",
typeOptions: {
password: true,
},
},
];
this.authenticate = {
type: "generic",
properties: {
headers: {
Authorization: '={{"Bearer " + $credentials.apiKey}}',
},
},
};
}
}
exports.SearxngApi = SearxngApi;
//# sourceMappingURL=SearxngApi.credentials.js.map