LibreChat

(★ 42,309)

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

Showing a partial file list — download the zip above to see everything.

  • .dockerignore
  • .env.example
  • .gitattributes
  • .gitignore
  • .nvmrc
  • .prettierrc
  • AGENTS.md
  • bun.lock
  • CLAUDE.md
  • CONTEXT.md
  • deploy-compose.langfuse-fanout.yml
  • deploy-compose.yml
  • docker-compose.langfuse-fanout.yml
  • docker-compose.override.yml.example
  • docker-compose.yml
  • Dockerfile
  • Dockerfile.multi
  • LICENSE
  • README.md
  • README.zh.md

# Installation Guide

1. Get the code
git clone https://github.com/danny-avila/LibreChat

Downloads the entire project code from GitHub to your computer.

cd LibreChat

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f docker-compose.langfuse-fanout.yml up -d --build

Runs the command against the services defined in the compose file.

Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

3. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
cd api

This project's files live in a subfolder, so move into it first.

npm install

Downloads and installs the libraries listed in package.json.

npm start

Starts the development/run server.

After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation