Commit graph

7 commits

Author SHA1 Message Date
DJP
a7d5f39472 docs: Add detailed cost calculation explanation and verified pricing tables
Explains how LibreChat calculates tokenValue, how the dashboard reads it,
and includes verified pricing tables for Claude, OpenAI, and Gemini models.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 19:41:36 -04:00
DJP
ebf81ae48f docs: Rewrite README with full install guide, nginx setup, and troubleshooting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 19:12:38 -04:00
DJP
dea8207620 fix: Add librechat_default as external network in docker-compose
Removes need for manual docker network connect after each rebuild.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 17:13:10 -04:00
DJP
367ea56b34 fix: Use relative base path for API calls behind nginx proxy
When served at /librechat-analytics/, API calls now correctly
target /librechat-analytics/api/ instead of /api/.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 17:08:37 -04:00
DJP
4564a23f99 fix: Check API key auth before loading dashboard data
Auth prompt now fires before any data fetch, preventing silent 401 failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 17:02:07 -04:00
DJP
62749a8246 docs: Add README with install guide and deployment instructions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 16:50:05 -04:00
DJP
65824fc3b3 Initial commit: LibreChat Analytics Dashboard
Express.js + Chart.js dashboard for LibreChat usage analytics.
Queries MongoDB transactions collection for model/agent usage, costs, and top users.
Dark theme with Montserrat font, black/gold (#FFC407) color scheme.
Docker-ready with API key authentication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 16:48:40 -04:00