← 返回
沟通协作 中文

WebChat Voice Full Stack

One-step full-stack installer for OpenClaw WebChat voice input with local speech-to-text. Orchestrates three focused skills in order: local STT backend (fast...
用于OpenClaw WebChat语音输入的本地语音转文本一步式全栈安装程序。按顺序协调三个专注技能:本地STT后端(快速...
neldar
沟通协作 clawhub v0.4.1 3 版本 99857.7 Key: 无需
★ 4
Stars
📥 1,323
下载
💾 51
安装
3
版本
#faster-whisper#free#full-stack#https#i18n#latest#local#meta#microphone#no-api#one-step#openclaw#ptt#push-to-talk#stt#voice#webchat#wss

概述

WebChat Voice Full Stack

Meta-installer that orchestrates three standalone skills in the correct order:

  1. faster-whisper-local-service — local STT backend (HTTP on 127.0.0.1:18790)
  2. webchat-https-proxy — HTTPS/WSS reverse proxy for Control UI + WebSocket + transcription
  3. webchat-voice-gui — mic button, VU meter, keyboard shortcuts, i18n for WebChat

Prerequisites

All three skills must be installed before running this meta-installer:

npx clawhub install faster-whisper-local-service
npx clawhub install webchat-https-proxy
npx clawhub install webchat-voice-gui

Additionally required on the system:

  • Python 3.10+
  • gst-launch-1.0 (GStreamer, from OS packages)
  • Internet access on first run (model download ~1.5 GB for medium)

Deploy

bash scripts/deploy.sh

Optional overrides (passed through to downstream scripts):

VOICE_HOST=10.0.0.42 VOICE_HTTPS_PORT=8443 TRANSCRIBE_PORT=18790 WHISPER_LANGUAGE=auto bash scripts/deploy.sh

What this does (via downstream scripts)

This skill does not contain deployment logic itself. It calls deploy.sh from each sub-skill:

Step 1: faster-whisper-local-service

  • Creates Python venv, installs faster-whisper==1.1.1
  • Writes transcribe-server.py with input validation (magic-byte check, size limit)
  • Creates systemd user service openclaw-transcribe.service
  • Downloads model weights on first run (~1.5 GB for medium)

Step 2: webchat-https-proxy

  • Copies https-server.py to workspace
  • Adds HTTPS origin to gateway.controlUi.allowedOrigins
  • Creates systemd user service openclaw-voice-https.service
  • Auto-generates self-signed TLS cert (TLS 1.2+ enforced)

Step 3: webchat-voice-gui

  • Copies voice-input.js and injects