Add Wyoming credentials and node skeleton

This commit is contained in:
Igor Karpovich 2025-12-08 07:48:05 +00:00
commit 5340284865
10 changed files with 285 additions and 12 deletions

View 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,
},
];
}

5
credentials/wyoming.svg Normal file
View file

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z"/>
<path d="M19 10v2a7 7 0 0 1-14 0v-2"/>
<line x1="12" x2="12" y1="19" y2="22"/>
</svg>

After

Width:  |  Height:  |  Size: 316 B