Local‑only observability dashboard for Codex CLI usage. This app reads your local Codex data in ~/.codex and visualizes activity, tokens (including cache), model calls, tool‑call success rates, durations, and more. For projects, maps multiple folders or workspaces against single github remote repo.
- Live dashboard for tokens, cache utilization, model calls, and sessions
- Tool‑call analytics: success rate, failures, duration trends
- Activity heatmap + per‑session details
- Local‑only storage (SQLite), no outbound telemetry
~/.codex/sessions/**/rollout-*.jsonl(session events)~/.codex/history.jsonl(first prompt timestamp)~/.codex/log/codex-tui.log(tool call logs)
- Next.js (App Router) + TypeScript
- shadcn/ui + Tailwind
- Recharts via shadcn chart components
- SQLite (local)
Install deps:
pnpm installRun dev server:
pnpm devBuild:
pnpm buildStart production server:
pnpm startSmoke scripts:
pnpm ingest:smoke
pnpm log:smokeE2E API tests (builds app, starts server, validates all API endpoints):
pnpm test:e2e- This app is designed to run locally and read from your
~/.codexdirectory. - No data is sent externally.
pnpm devruns a full ingest before starting the server so dashboard data is up to date.
If the heatmap, activity, or token counts look wrong or are missing recent days:
pnpm ingest:fullThen refresh the dashboard. This re-ingests all Codex session files from scratch (incremental ingest can miss data when files were still being written).
See INIT.md for architecture, schema, and execution plan.
See docs/shadcn.md for shadcn/ui setup and chart notes.
Lines of code: 20,683 (2025-02-01).