mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
583330e2a4b284812817218f5f4eb8fc35f8b885
* docs: Add OIDC Group Synchronization documentation for Keycloak Add comprehensive documentation for the new OIDC group sync feature: - Overview and prerequisites - Configuration examples for realm roles, client roles, and groups - Step-by-step setup instructions - Troubleshooting guide with common claim paths - Usage examples for permissions - Limitations and best practices Covers integration with LibreChat's granular permissions system for agents, prompts, files, and conversations. Related to LibreChat PR and issue #10006 * docs: Add group/role exclusion pattern documentation Document OPENID_GROUPS_EXCLUDE_PATTERN configuration option: - Explain exact match (case-insensitive) and regex pattern support - Provide common Keycloak exclusion examples - Show why to exclude system roles, default roles, and auth roles - Add practical scenario with admin/developers vs system roles - Include configuration examples for filtering out: - offline_access, uma_authorization (system roles) - default-roles-* (default realm roles) - manage-account, view-profile (account management) Complements the group sync feature by allowing fine-grained control over which roles become groups in LibreChat.
🎨 feat: Adds Image Gen Docs, fix broken links, usage stats, missing .env vars, formatting issues, bump Next.js (#288)
🎨 feat: Adds Image Gen Docs, fix broken links, usage stats, missing .env vars, formatting issues, bump Next.js (#288)
🎨 feat: Adds Image Gen Docs, fix broken links, usage stats, missing .env vars, formatting issues, bump Next.js (#288)
LibreChat Docs
Based on Nextra
Local Development
Pre-requisites: Node.js v20.19.0+ (or ^22.12.0 or >= 23.0.0), pnpm 9+
- Optional: Create env based on .env.template
- Run
pnpm ito install the dependencies. - Run
pnpm devto start the development server on localhost:3333 - Run
pnpm buildto build... - Run
pnpm startto start the production server on localhost:3333
⚠️ Note: try building prod before making a PR
Bundle analysis
Run pnpm run analyze to analyze the bundle size of the production build using @next/bundle-analyzer.
Languages
MDX
83.8%
TypeScript
14.9%
CSS
0.6%
JavaScript
0.6%
Shell
0.1%