selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

libre-chat logo

Self-host libre-chat

0.0.6

Self-hosted LLM chatbot with web UI and API

AlphaOpen SourceMIT
Updatedlast year
LanguagePython
Setup difficultyModerate
MobileResponsive
Stars
172
Port
8000 (HTTP API and web UI)
Docker
ghcr.io/vemonet/libre-chat
Install with Docker
Libre Chat web UI in dark modeLibre Chat web UI in light mode

What is libre-chat?

Libre Chat is a free and open-source chatbot web service that lets you run large language models locally on your own hardware. It provides both a web UI and a REST/websocket API for interacting with models like Mixtral or Llama 2 in GGUF format via llama.cpp. The service supports generic conversation and experimental document-based question answering with vector search over uploaded documents (PDF, CSV, HTML, JSON, markdown). It runs fully offline with no API keys required, works on CPU (though slower), and can be deployed via Docker, docker-compose, or pip. Configuration is done through a YAML file. The project is in early development (pre-1.0) and the author recommends more mature alternatives like Ollama or GPT4All for production use.

Should you self-host libre-chat?

libre-chat scores 38/100 on selfhost.directory (how scoring works) and ranks #57 of 69 in AI Chat. It has 172 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is LibreChat (85/100, 46 414 stars). It scores higher overall, so compare the two before you pick. See libre-chat vs LibreChat side by side.

Features

  • CPU-only operationSlower on CPU
  • Document-based QA (RAG)Experimental feature
  • Gradio alternative UI
  • Local LLM Inference
  • Multiple model support
  • OpenAPI documentation
  • REST and WebSocket API
  • Vector store with FAISS
  • Web UI with streaming
  • YAML Configuration

libre-chat README

How to install libre-chat

Install libre-chat with Docker

docker run -it -p 8000:8000 ghcr.io/vemonet/libre-chat:main

Quick deployment with pre-trained Mixtral model

libre-chat releases & version history

More in LLM Inference

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…