qmetrics.net

Chat UI

Self-hostable SvelteKit chat UI for OpenAI-compatible LLM APIs

Chat UI screenshot

Chat UI is a SvelteKit application that powers HuggingChat and talks to any OpenAI-compatible API for model chat, routing, tools, and optional ML Intern workflows.

Overview

Chat UI provides a web chat interface for large language models. It is the codebase behind HuggingChat on hf.co/chat and discovers models from an OpenAI-compatible /models endpoint using OPENAI_BASE_URL and OPENAI_API_KEY (including Hugging Face Inference Providers, Ollama, llama.cpp servers, and OpenRouter).

Chat history, users, settings, and files use MongoDB; without MONGODB_URL the app embeds a local MongoDB under ./db. Optional Docker image chat-ui-db bundles MongoDB. An Omni virtual model alias can route messages locally to default, multimodal, or agentic routes. MCP servers expose tools via OpenAI function calling. ML Intern is an experimental mode for Hub-oriented ML tasks when enabled.

You configure .env.local, install npm dependencies, and run the dev server; production builds use npm run build and preview. Theming and model metadata overrides use documented PUBLIC_* and MODELS environment variables.

Key features

  • OpenAI-compatible API client
  • MongoDB or embedded local database
  • Optional Docker image with MongoDB
  • Omni local LLM routing
  • MCP tool calling in chat
  • Model discovery from /models
  • ML Intern experimental mode
  • SvelteKit web frontend

Use cases

  • Self-hosted LLM chat frontend
  • Private HuggingChat-style deployment
  • Multi-model chat with routing
  • Teams using MCP tools in chat
  • Local dev against Ollama or HF APIs

Tags

Similar software

OpenClaw

Open-source personal AI assistant running on your devices and chat apps

Open-source AI assistant that runs on your own computer and answers in chat apps such as WhatsApp, Telegram, Slack and Discord. State, memory and credentials stay on your hardware.

★ 395.3k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Plus+3

DeepSeek Harness

Open-source plugin-based agent harness from DeepSeek

DeepSeek Harness is an open-source agent harness built on an everything-is-a-plugin architecture powered by Cordis. It offers a web UI, desktop app, and extensible plugins for daily work, coding, and automation.

★ 288k⟳ 6 days agoMIT

Hermes Agent

Self-improving open-source AI agent with memory, skills and messaging gateway

Open-source AI agent from Nous Research that keeps persistent memory, creates skills from experience, and runs from a terminal, desktop app or messaging platforms with any model provider.

★ 266.6k⟳ todayMIT
Open Source Alternative to:Anthropic ClaudeChatGPT+5

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Stable Diffusion Webui

Gradio web interface for Stable Diffusion

AUTOMATIC1111’s web UI wraps Stable Diffusion with txt2img, img2img, inpainting, upscalers, training tabs, and a settings-driven Gradio front end. Install scripts target NVIDIA and AMD GPUs plus Apple Silicon.

★ 165.4k⟳ 2 years agoAGPL-3.0
AI Interaction & InterfacesNo commits in 18+ monthsSelf-hostable

Open WebUI

Self-hosted AI interface for Ollama and OpenAI-compatible models

Open WebUI is a self-hosted AI platform that runs offline and connects to local models through Ollama or to cloud models through OpenAI-compatible APIs. It can be extended with Python.

★ 159.7k⟳ 3 days agoBSD-3-Clause
Open Source Alternative to:Anthropic ClaudeChatGPT+4