searxng-searxng

Namespace

searxng-searxng

Description:
  • Experience the power of privacy with SearXNG, a customizable metasearch engine delivering unmatched confidentiality. Explore the web securely with our easy setup and extensive admin tools.

Author:

Methods

(async, static) createSearxngSearxngInstance(context, body) → {SearxngSearxng}

Description:
  • Create a new SearXNG instance

Example
import { Context } from '@osaas/client-core';
import { createSearxngSearxngInstance } from '@osaas/client-services';

const ctx = new Context();
const body: SearxngSearxngConfig = { name: 'myinstance', ... };
const instance = await createSearxngSearxngInstance(ctx, body);
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

body SearxngSearxngConfig

Service instance configuration

Returns:
  • Service instance
Type
SearxngSearxng

(async, static) getSearxngSearxngInstance(context, name) → {SearxngSearxng}

Description:
  • Get a SearXNG instance

Example
import { Context } from '@osaas/client-core';
import { getSearxngSearxngInstance } from '@osaas/client-services';

const ctx = new Context();
const instance = await getSearxngSearxngInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the searxng to be retrieved

Returns:
  • Service instance
Type
SearxngSearxng

(async, static) removeSearxngSearxngInstance(context, name)

Description:
  • Remove a SearXNG instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the searxng to be removed