Open WebUI — Self-Hosted AI Chat Interface
User-friendly, self-hosted AI chat interface. Supports Ollama, OpenAI, Anthropic, and any OpenAI-compatible API. RAG, web search, voice, image gen, and plugins. 129K+ stars.
先审查再安装
这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。
npx -y tokrepo@latest install 5d37ffb8-d351-4fb1-8665-bef4db25b275 --target codex先 dry-run,确认写入项后再运行此命令。
What it is
Open WebUI is a self-hosted web interface for interacting with large language models. It provides a polished chat experience similar to ChatGPT but runs on your own infrastructure. The interface connects to Ollama for local models, OpenAI, Anthropic, and any API following the OpenAI-compatible format. Built-in features include RAG (retrieval-augmented generation), web search, voice input/output, image generation, and a plugin system.
This tool targets developers, teams, and organizations that want a private AI chat interface without sending data to third-party services. Self-hosters who already run Ollama benefit from a production-ready frontend.
How it saves time or tokens
Open WebUI consolidates multiple LLM providers into a single interface, eliminating the need to switch between different chat UIs. The built-in RAG system lets you upload documents and query them directly, avoiding manual copy-paste of context into prompts. This reduces both token waste and the time spent formatting queries across different tools.
How to use
- Deploy Open WebUI via Docker with a single command
- Connect it to your LLM backend (Ollama, OpenAI API key, or custom endpoint)
- Access the web UI in your browser and start chatting
Example
# Quick start with Docker (connects to Ollama on the host)
docker run -d -p 3000:8080 \
--add-host=host.docker.internal:host-gateway \
-v open-webui:/app/backend/data \
--name open-webui \
--restart always \
ghcr.io/open-webui/open-webui:main
# Access at http://localhost:3000
# First user to register becomes admin
Related on TokRepo
- Local LLM tools — Explore local model runners that pair with Open WebUI
- RAG tools — Browse retrieval-augmented generation frameworks
Common pitfalls
- The default Docker setup expects Ollama on the host; use
--add-hostto bridge the network correctly - Uploading large documents for RAG requires sufficient disk space and may slow indexing on low-memory systems
- Multi-user setups need proper authentication configuration to prevent unauthorized access to API keys
常见问题
Yes. You can connect Open WebUI to any OpenAI-compatible API endpoint, including OpenAI directly, Anthropic via a proxy, or services like LiteLLM that unify multiple providers behind one API.
Yes. Open WebUI is open-source and free to self-host. There are no usage fees, subscription costs, or per-token charges from the UI itself. You only pay for the LLM provider you connect to.
Upload documents (PDF, text, markdown) through the web interface. Open WebUI indexes them locally and lets you query their contents in chat. The system retrieves relevant passages and includes them as context for the LLM.
Yes. Open WebUI supports multi-user accounts with role-based access. The first registered user becomes admin. You can configure shared models, per-user API keys, and conversation privacy settings.
Open WebUI itself is lightweight and runs on any machine that supports Docker. The hardware requirements depend on your LLM backend. If using Ollama locally, you need sufficient RAM and optionally a GPU for the model you run.
引用来源 (3)
- Open WebUI GitHub— Self-hosted AI chat interface with RAG, web search, voice, and plugins
- Open WebUI Documentation— Supports Ollama, OpenAI, Anthropic, and OpenAI-compatible APIs
- Open WebUI Getting Started— Docker deployment with multi-user support
TokRepo 相关
来源与感谢
Created by Open WebUI. Licensed under BSD-3. open-webui/open-webui — 129,000+ GitHub stars
讨论
相关资产
Cachet — Open Source Self-Hosted Status Page System
Cachet is a self-hosted status page application that helps teams communicate service availability and incidents to users through a clean web dashboard.
Text Generation WebUI — Local LLM Chat Interface
Text Generation WebUI is a Gradio interface for running LLMs locally. 46.4K+ GitHub stars. Multiple backends, vision, training, image gen, OpenAI-compatible API. 100% offline.
Shiori — Simple Self-Hosted Bookmark Manager
Shiori is a lightweight self-hosted bookmark manager written in Go with full-text search, archiving, and a clean web interface for organizing your saved links.
ArchiveBox — Self-Hosted Web Archiving Platform
ArchiveBox is an open-source self-hosted web archiver that saves URLs as local HTML, PDF, screenshots, WARC, and more. Feed it bookmarks, browser history, or RSS feeds and it preserves everything for offline access.