| license: mit | |
| tags: | |
| - openclaw | |
| - dashboard | |
| - react | |
| - streamlit | |
| # OpenClaw Ops Dashboard | |
| Developer-facing dashboard experiments for OpenClaw operations. | |
| This repo includes two dashboard surfaces: | |
| - `react-dashboard/` — the current Vite/React dashboard for Session Amplifier data. | |
| - `app.py` — the older Streamlit dashboard that reads local agent session JSON files. | |
| ## React Dashboard | |
| ```bash | |
| cd react-dashboard | |
| npm install | |
| npm run build | |
| npm run dev -- --port 5177 | |
| ``` | |
| The Vite dev server proxies `/session-amplifier/*` to `SESSION_AMPLIFIER_BASE_URL` or `http://localhost:8477`. | |
| ## Streamlit Dashboard | |
| The Streamlit app reads agent session JSON files from `~/.openclaw/agents/*/sessions` and displays: | |
| - Agent list with last activity timestamps (best-effort) | |
| - A simple timeline of recent cron runs (files with "cron" in the name under agents) | |
| ```bash | |
| python3 -m venv .venv | |
| . .venv/bin/activate | |
| pip install -r requirements.txt | |
| streamlit run app.py | |
| ``` | |
| Notes: | |
| - The app is intentionally minimal and tolerant of malformed session files. | |
| - Timestamps are parsed best-effort from common keys (last_activity, updated_at, timestamp). | |