huggingface

    huggingface/chat-ui

    The open source codebase powering HuggingChat

    11.0K stars
    1.7K forks
    11.0K GitHub watchers
    Updated Nov 1, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 174 days ago, with 158 contributors on GitHub.

    Peaked at #14 in the weekly ranking the week of Oct 19, its best in the past year.

    Use Cases & Benefits

    • Provides a SvelteKit-based chat interface for interacting with OpenAI-compatible large language models.
    • Enables seamless integration with multiple OpenAI-compatible APIs and flexible MongoDB-backed data storage for chat history and settings.
    • Use for quickly deploying a customizable AI chat app powered by Hugging Face's inference router without managing backend infrastructure.
    • Use for integrating client-side LLM routing to dynamically select the best model for each user message via configurable routing policies.
    • Use for containerized deployment of a scalable chat UI with MongoDB support suitable for team collaboration or cloud hosting.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A chat interface for LLMs. It is a SvelteKit app and it powers the HuggingChat app on hf.co/chat.

    Chat UI speaks to OpenAI-compatible APIs only. The fastest way to get running is with the Hugging Face Inference Providers router plus your personal Hugging Face access token.

    OPENAI_API_KEY can come from any OpenAI-compatible endpoint you plan to call. Pick the combo that matches your setup and drop the values into .env.local:

    Check the root .env template for the full list of optional variables you can override.

    Step 2 – Choose where MongoDB lives: Either provision a managed cluster (for example MongoDB Atlas) or run a local container. Both approaches are described in Database Options. After you have the URI, drop it into MONGODB_URL (and, if desired, set MONGODB_DB_NAME).

    Step 3 – Install and launch the dev server:

    You now have Chat UI running against the Hugging Face router without needing to host MongoDB yourself.

    Chat history, users, settings, files, and stats all live in MongoDB. You can point Chat UI at any MongoDB 6/7 deployment.

    Excerpt from the huggingface/chat-ui README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    1.7K+54

    Open issues

    325+56

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    huggingface/chat-ui compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    D4Vinci/Scrapling101.1K+6.3K756 days ago
    thedotmack/claude-mem115.8K+4.7K75today
    heygen-com/hyperframes82.3K+4.0K75today
    harry0703/MoneyPrinterTurbo142.0K+3.8K753 days ago
    github/spec-kit149.2K+2.6K75today
    huggingface/chat-ui11.0K—45174 days ago
    Category median115.8K+4.0K75—

    Also by huggingface

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description