Commit graph

4 commits

Author SHA1 Message Date
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