Marco Beretta e3ad59744d feat: redesign docs site pages, migrate legal/about to App Router, add feedback widget (#502)
* feat: update table of content style in DocsPage component

* feat: add feedback widget, redesign DocsHub, and add sidebar logo

* feat: update demo images for dark and light themes

* feat: update demo images for dark and light themes

* feat: replace logo image and remove duplicate SVG file

* feat: add LocalInstallHub component and update documentation for local installation

* feat: enhance UI by updating feature icons and descriptions, and improving layout responsiveness

* Add legal pages: Cookie Policy, Privacy Policy, and Terms of Service

- Implemented Cookie Policy page with details on cookie usage and user privacy.
- Created Privacy Policy page outlining data collection practices and user rights.
- Developed Terms of Service page defining the usage terms for the documentation site.
- Removed outdated MDX files for cookie, privacy, and terms of service.
- Updated FeaturesHub component to include new feature highlights and improved layout.

* feat: enhance GitHub data fetching to include contributor count and update CommunitySection layout
2026-02-19 00:06:58 +01:00
2024-05-09 17:09:13 -04:00
2024-05-09 17:09:13 -04:00
2024-05-09 17:09:13 -04:00
2024-05-09 17:09:13 -04:00
2024-05-09 17:09:13 -04:00
2024-05-09 17:09:13 -04:00
2024-05-09 17:09:13 -04:00
2024-05-09 17:09:13 -04:00
2024-05-10 02:42:16 -04:00
2024-05-09 17:09:13 -04:00

LibreChat Docs

The official documentation site for LibreChat, built with Next.js 15 and Fumadocs.

www.librechat.ai

Tech Stack

  • Framework: Next.js 15 (App Router)
  • Docs Engine: Fumadocs (fumadocs-mdx + fumadocs-ui)
  • Styling: Tailwind CSS
  • Icons: Lucide React
  • Package Manager: Bun

Local Development

Prerequisites: Bun 1.0+

  1. Clone the repository
  2. Copy .env.template to .env.local and fill in any optional values
  3. Install dependencies:
    bun i
    
  4. Start the dev server (uses Turbopack):
    bun dev
    
  5. Open http://localhost:3333

Note: Always run bun run build before opening a PR to catch build errors early.

Project Structure

app/              # Next.js App Router pages (docs, blog, changelog, API routes)
content/
  docs/           # Documentation pages (MDX)
  blog/           # Blog posts (MDX)
  changelog/      # Changelog entries (MDX)
components/       # React components (home, UI, icons, etc.)
lib/              # Utilities, icons, MDX components, Nextra shims
public/           # Static assets
pages/            # Legacy pages (migrating to app/)
source.config.ts  # Fumadocs content collections config

Documentation Content

Docs live in content/docs/ and are organized by section. Each directory has a meta.json that controls sidebar navigation:

{
  "title": "Section Title",
  "icon": "Wrench",
  "pages": ["index", "page-one", "page-two"]
}

Only pages listed in the pages array appear in the sidebar.

Scripts

Command Description
bun dev Start dev server on port 3333 (Turbopack)
bun run build Production build
bun start Start production server on port 3333
bun run lint Run ESLint
bun run prettier Format code with Prettier
bun run analyze Analyze production bundle size

License

MIT

Description
No description provided
Readme MIT 108 MiB
Languages
MDX 83.8%
TypeScript 14.9%
CSS 0.6%
JavaScript 0.6%
Shell 0.1%