chat-export-dashboard

svergio/chat-export-dashboard Checked 1 day ago

Operator dashboard for Chat Export server — browsers, queues, cache, logs, MCP tokens; React UI at /dashboard for the eight-provider local stack.

Works with the Chat Export extension bridge; no cloud account required. The dashboard is an optional operator UI for chat-export-server. The Chat Export product does not require Cursor, Chrome DevTools MCP, Open WebUI, or vendored local-agent code — only the extension + server (+ this UI if you want it). MCP and CLI are powerful but opaque when jobs stall, a browser drops offline, or you need to copy logs. The dashboard gives a local-only control plane with the same security boundary as the server.

Summary extracted from the README.

English | Русский · Support on DonationAlerts · chat-export-server MCP server · MCP Servers

chat-export-dashboard

Operator dashboard for chat-export-server. Monitor browsers, job queues, chat cache, logs, and MCP tokens — served as static React at http://127.0.0.1:8765/dashboard/ when the server embeds this repo as the dashboard/ submodule.

Works with the Chat Export extension bridge; no cloud account required.

Standalone

The dashboard is an optional operator UI for chat-export-server. The Chat Export product does not require Cursor, Chrome DevTools MCP, Open WebUI, or vendored local-agent code — only the extension + server (+ this UI if you want it).

The problem

MCP and CLI are powerful but opaque when jobs stall, a browser drops offline, or you need to copy logs. The dashboard gives a local-only control plane with the same security boundary as the server.

What you get

Area What you see
Overview Health, MCP activity, resource snapshot
Browsers Connected profiles, bind hints, platform tabs
Queues Job pipeline by status and browser
Cache Temp chat cache entries
Logs Server log stream (live/pause, filters)
Settings Language (EN/RU), skins (12 providers), MCP token helpers

Session auth uses cookie ce_dash_sid; APIs under /dashboard/api on the server host.

Architecture

The dashboard is a static React build (public/) embedded in chat-export-server at /dashboard/. Your operator browser loads UI assets from the same origin as the server; authenticated calls hit /dashboard/api, which reads browser hub state, job queues, cache, and logs from the core process and ultimately drives the Chrome extension WebSocket bridge — no separate cloud backend.

Build with npm ci && npm run build, sync into the server’s dashboard/ submodule, then chat-export-server start. Optional nginx split image proxies API, MCP, and WebSocket to SERVER_UPSTREAM (Colima-friendly). Diagrams: Wiki — Architecture (dashboard section). Security and auth: Dashboard and security · Native / K8s deploy.

Quick start (3 steps)

  1. Install chat-export-server and init submodule: git submodule update --init dashboard.
  2. In this repo: npm ci && npm run build → output in public/; server copies or serves that tree.
  3. chat-export-server start, open http://127.0.0.1:8765/dashboard/, sign in with dashboard password from server config.

Wiki: Dashboard and security.

Build

npm ci
npm run build

Produces public/index.html, public/assets/*, public/locales/, public/styles.css, public/skins.css.

Docker (optional split front)

Dockerfile builds static assets with Node 22, then serves them from nginx and reverse-proxies /dashboard/api, /mcp, /ws, /ext, /enroll, and /health to SERVER_UPSTREAM (default server:8765). Use with Colima (docker --context colima …) and the maintainer docker-compose.yml that pairs this image with chat-export-server — not Docker Desktop.

Develop

npm run dev

Vite proxies /dashboard/api to the running server (adjust vite.config.ts if port differs).

Stack

React 19, TypeScript, Vite. Twelve provider skins (ChatGPT, Grok, Grok-X, Copilot, Claude, Qwen, DeepSeek, Perplexity, Kimi, Z.ai, MiniMax, JanitorAI) with light / dark / auto.

Security

  • Reachable only where you expose the server — keep loopback unless you add TLS and auth hardening.
  • Dashboard login is separate from MCP Bearer keys; rotate both if leaked.
  • See SECURITY.md and server threat model.
Repo Role
chat-export-extension Browser bridge
chat-export-server Host + API
chat-export-dashboard (this) Static UI
Wiki Operator docs

Support the project

Tips are voluntary.

Tests

npm test

CI (.github/workflows/ci.yml) runs npm test (locale + legal string parity), build, and audit on branches test and main.

Contributing

See CONTRIBUTING.md (locales, LegalFooter, embed sync into the server) and extension CONTRIBUTING for cross-repo i18n.

Dependencies

Runtime: React 19 + react-dom (Vite/TypeScript are dev-only; production is static public/).

Product graph: built into chat-export-server at /dashboard/; API calls stay on the same origin as the server. The extension bridge does not add npm deps here. Shared wire types: server packages/protocol/.

Docker (optional): Node builder + nginx:1.27-alpine serving compiled assets. See THIRD_PARTY_NOTICES.md; refresh with npm run licenses.

Not required: Cursor, Open WebUI, BibLLMsteak, Bonsai-27B, NodeRed — not runtime dependencies.

License

See LICENSE.