Initial Neutralino.js POC for kokoro-widget

Lightweight alternative to the Electron build (~5MB vs ~300MB).
Uses system webview (WebKit2GTK on Linux, WKWebView on macOS,
WebView2 on Windows). Same UI and feature set as the Electron build:
WebSocket audio client, volume control, host/port settings, tray icon,
hide-to-tray on close, CLI args (--host, --port, --volume).

Note: Linux requires libwebkit2gtk-4.0 or libwebkit2gtk-4.1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nonna
2026-03-11 00:44:45 +00:00
commit 2c369d74b1
9 changed files with 1175 additions and 0 deletions

12
package.json Normal file
View File

@@ -0,0 +1,12 @@
{
"name": "kokoro-widget-neutralino",
"version": "1.0.0",
"description": "Standalone PAI Voice audio widget — lightweight Neutralino.js build",
"scripts": {
"start": "neu run",
"build": "neu build"
},
"dependencies": {
"@neutralinojs/neu": "^11.7.0"
}
}