Building the product · Independent · 18 Oct 2026

huggingface/chat-ui

The open source codebase powering HuggingChat

← Building the product

In simple English

This tool gives you your own private version of HuggingChat. It looks and feels like ChatGPT, but you control where your conversations go. You can connect it to local models running on your own computer or to cloud providers. It saves your chat history and lets you switch between different artificial intelligence models easily. You need some technical knowledge to set up environment variables and connect a database.

What it is

A web application built with SvelteKit that provides a chat interface for large language models. It connects to any API that follows the OpenAI specification.

What it is good for

Solo builders who want to offer a custom chat interface to users or team members without relying on third-party web portals.

Stars11k
LicenceApache-2.0
Latestv0.10.0 (2026-05-11)checked 18 Oct 2026
Last code change2026-10-16
Written inTypeScript
Setup effort
3 / 5
Payoff
4 / 5
Good
  • Familiar chat interface that resembles popular AI web applications.
  • Works with local models through Ollama or llama.cpp.
  • Supports optional tool calling and smart routing between models.
Watch for
  • Requires setting up and configuring environment variables.
  • Needs a MongoDB database for storing user accounts and chat history.
  • Depends on an external AI provider or local server to generate responses.
Replaces

Using separate web chat clients for different artificial intelligence providers

Works well with

Ollama

Similar repositories
  • open-webui/open-webui156k stars

    A feature-rich self-hosted web interface for large language models with built-in authentication and RAG support.

  • LibreChat-AI/LibreChat46k stars

    Another popular open-source chat interface supporting multiple AI providers and user management.

Also reviewed on Repo Radar
  • xtool-org/xtool11k stars

    Builds, signs and installs iPhone apps from Linux or Windows, using Swift's own package manager instead of the vendor's tool.

  • vitest-dev/vitest17k stars

    A test runner for JavaScript and TypeScript that reuses a project's existing Vite build settings.

  • oxc-project/oxc23k stars

    Fast replacements for the usual JavaScript checker, formatter, parser and minifier, usable one piece at a time.

Install
git clone https://github.com/huggingface/chat-ui
cd chat-ui
npm install
npm run dev

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: AI & Automation › AI Assistants & Agents › General Assistants.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.