Skip to content

cerocca/xiaozhi-admin-ui

Repository files navigation

Xiaozhi Admin UI

Status UI Backend Health Device Scope License: MIT

Minimal Admin UI to manage and observe a Xiaozhi ESP32 server in a LAN environment.
For full installation and step-by-step guide see SETUP.md.


What it does

  • Dashboard with runtime status:

    • LLM
    • ASR
    • TTS
    • device (connected / disconnected)
  • Real runtime health integration via /api/health

  • Configuration:

    • LLM
    • ASR
    • TTS
  • Read-only modules:

    • VAD
    • Intent
    • Memory
  • Logs access (backend and Piper)

  • Operational actions:

    • restart
    • logs

Goal:

  • real debugging
  • simplicity
  • zero overengineering

Requirements

Note:
This UI is primarily tested with xiaozhi-esp32-lightserver.
Other backends exposing /api/health may work but are not guaranteed.


Runtime Health

The Admin UI uses the backend /api/health endpoint as the single source of truth.

  • Top-level fields (llm, asr, tts, device) define the primary state
  • details are optional and shown only as secondary context
  • The UI never infers state from details
  • If the health endpoint is unavailable, the UI shows an UNKNOWN state
  • Device disconnected is treated as a neutral state, not an error

This ensures a clear distinction between:

  • module errors (backend reachable, component failing)
  • backend unreachable (no reliable runtime data)

Quick start

git clone https://github.com/cerocca/xiaozhi-admin-ui.git
cd xiaozhi-admin-ui

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

cp .env.example .env

Edit at least:

XIAOZHI_DIR=...
XIAOZHI_CONFIG=...

Run:

uvicorn app.main:app --host 0.0.0.0 --port 8088

Open:

http://<SERVER_IP>:8088

Repository docs


Project status

  • v0.1.5 → stable and usable
  • next → incremental improvements (devices, logs, config UX)

Philosophy

  • Server-rendered (no SPA)
  • No complex JavaScript
  • Real debugging > UI decoration
  • Incremental patches, no massive refactors

About

Minimal LAN-first admin UI for xiaozhi-ESP32 AI devices backend runtime, config and logs

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors