LLM Chat Interface
10.6k 2026-04-15
huggingface/chat-ui
An open-source SvelteKit chat interface for Large Language Models, compatible with OpenAI APIs, powering HuggingChat.
Core Features
OpenAI-compatible API integration (Hugging Face, Ollama, OpenRouter, etc.)
Modern SvelteKit-based web user interface
MongoDB for persistent chat history and user data
Docker support for easy deployment and setup
Customizable application branding and theming
Quick Start
docker run -p 3000:3000 -e OPENAI_BASE_URL=https://router.huggingface.co/v1 -e OPENAI_API_KEY=hf_*** -v chat-ui-data:/data ghcr.io/huggingface/chat-ui-db:latestDetailed Introduction
Hugging Face Chat UI is a robust and customizable open-source chat interface designed for Large Language Models (LLMs). Built with SvelteKit, it offers a modern and responsive user experience, serving as the foundation for HuggingChat. It features broad compatibility with OpenAI-compatible APIs, allowing integration with various LLM providers and local servers. With MongoDB for data persistence and Docker for streamlined deployment, it empowers developers to quickly set up and customize their own LLM chat platforms, making advanced AI conversations accessible.