mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-12-16 17:33:01 -06:00
Add Wyoming credentials and node skeleton
This commit is contained in:
parent
a3932104a0
commit
5340284865
10 changed files with 285 additions and 12 deletions
31
credentials/WyomingApi.credentials.ts
Normal file
31
credentials/WyomingApi.credentials.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export class WyomingApi implements ICredentialType {
|
||||
name = 'wyomingApi';
|
||||
|
||||
displayName = 'Wyoming API';
|
||||
|
||||
documentationUrl = 'https://github.com/rhasspy/wyoming';
|
||||
|
||||
icon = { light: 'file:wyoming.svg', dark: 'file:wyoming.svg' } as const;
|
||||
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Host',
|
||||
name: 'host',
|
||||
type: 'string',
|
||||
default: 'localhost',
|
||||
placeholder: 'e.g., localhost or 192.168.1.100',
|
||||
description: 'Wyoming server hostname or IP address',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Port',
|
||||
name: 'port',
|
||||
type: 'number',
|
||||
default: 10300,
|
||||
description: 'Wyoming server port (default: 10300 for Whisper)',
|
||||
required: true,
|
||||
},
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue