React/Vite frontend for managing and monitoring the local Chatipelago client. It runs in the browser (hosted at chati.prismativerse.com or locally) and talks to the Admin API exposed by the Chatipelago client on http://localhost:8015.
- Configuration Management: Edit
config.json(validation, autosave optional, grouped sections) - Real-time Console: Live client logs via SSE with filters, search, export
- Connection Status: Connected/Disconnected/Connecting with retry and history
- Message Templates: Browse/edit JSON templates with validation and live preview
- Zip Generation: Upload YAML, trigger server-side zip, download result
mixitup: true→ HTTP webhook server (port 1339)streamerbot: true→ WebSocket to Streamer.bot (localhost:8080)- Only one chatbot active at a time; Admin API on
8015is always available
- React 18, Vite, Tailwind CSS
- State: React Context + useReducer
- Networking: axios, SSE for live console
- Chatipelago client running locally with Admin API enabled on
http://localhost:8015 - Node.js 18+ (recommended) and npm or pnpm
npm install
npm run devThen open the printed local URL (typically http://localhost:5173). The app will attempt to connect to http://localhost:8015.
npm run build
npm run previewGET /api/config,PUT /api/configGET /api/messages,POST /api/restart,GET /api/console(SSE),GET /api/status
- CORS will need to allow local dev origin
- No auth; intended for localhost-only Admin API
- YAML uploads limited to 1MB; temporary files cleaned up by server
src/
components/ (ConfigEditor, MessageEditor, ConsoleOutput, APworldGenerator, ConnectionStatus)
hooks/ (useSSE, useConfig)
services/ (api, sse)
context/ (AppContext)
utils/ (validation)
App.jsx, main.jsx