mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
Merge 154 upstream commits with the 12-commit westernization stack, preserving upstream features (theme refactor, knowledge base, device calling, web search) while keeping downstream provider policy, English defaults, and westernized surfaces. |
||
|---|---|---|
| .. | ||
| css | ||
| images | ||
| js | ||
| resources | ||
| wakeword_runtime | ||
| favicon.ico | ||
| index.html | ||
| README.md | ||
| start.py | ||
| test_news_plugin.py | ||
| test_runner.py | ||
| test_weather_plugin.py | ||
Digital Human Test Module
This module provides the local digital-human test page, frontend assets, wakeword runtime, and event bridge used to exercise the full interaction flow.
For server deployment, see the root README.
For all-in-one kiosk deployment and system setup, see docs/all-in-one-digital-human-setup.md.
For wakeword model download and runtime configuration, see docs/digital-human-wakeword.md.
Quick Start
Install dependencies:
pip install -r wakeword_runtime/requirements.txt
Start the module:
python start.py
Endpoints
- Page: http://127.0.0.1:8006/index.html
- Event bridge: ws://127.0.0.1:8006/wakeword-ws
- Health check: http://127.0.0.1:8006/health
Layout
start.py: module entrypointindex.html: digital-human test pagewakeword_runtime/: local wakeword runtime and configjs/,css/: frontend scripts and stylesimages/,resources/: page assetstest_runner.py,test_weather_plugin.py,test_news_plugin.py: plugin test harnesses