open-webui /open-webui
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
★ 158,277⑂ 23,005👁 682⑃ 12,776● 10,927▤ 180◈ 8,870
158,277
stars
+99+705
23,005
forks
682
watchers
12,776
prs
10,927
issues
180
releases
8,870
discussions
README
Open WebUI
Open WebUI 是 AI 的家:一个可扩展、易于使用的自托管平台,支持完全离线运行。通过 Ollama 连接本地模型,或使用兼容 OpenAI 的 API 连接本地和云端模型。
English |
简体中文 |
繁體中文 |
한국어 |
Deutsch |
Español |
Français |
Italiano |
Dansk |
日本語 |
Polski |
Русский |
Bosanski |
العربية |
Norsk |
Português (Brasil) |
ไทย |
Türkçe |
Українська |
বাংলা |
Ελληνικά |
Tiếng Việt
!GitHub stars
!GitHub forks
!GitHub watchers
!GitHub repo size
!GitHub language count
!GitHub top language
!GitHub last commit
探索 Open WebUI →
安装
Python
需要 Python 3.12。
bash
pip install open-webui
open-webui serve
然后打开 http://localhost:8080。
Docker
bash
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
然后打开 http://localhost:3000。
| 镜像标签 | 内容 |
| --------- | ---------------------------------------------- |
| :main | 包含本地 AI 依赖的标准镜像 |
| :slim | 轻量镜像,通过外部服务处理嵌入、文档提取和语音 |
| :cuda | 支持 CUDA 加速的 Open WebUI |
| :ollama | 内置 Ollama 的 Open WebUI |
| :dev | 最新开发版本 |
根据需要,在 docker run 的镜像名称前添加以下选项:
| 选项 | 用途 |
| ---------------------------------------------------- | --------------------------------------------------------------------------- |
| -e OLLAMA_BASE_URL=http://your-ollama-server:11434 | 连接另一台服务器上的 Ollama |
| -e OPENAI_API_KEY=your_secret_key | 设置 OpenAI API 密钥 |
| -e HF_HUB_OFFLINE=1 | 禁用 Hugging Face 模型下载,以便离线使用 |
| --gpus all | 为 :cuda 或 :ollama 启用 Nvidia GPU 访问;需要 Nvidia Container Toolkit |
安装步骤和配置选项请参阅 Docker 安装指南。
桌面应用
下载原生桌面应用,支持 macOS、Windows 和 Linux。
阅读文档 →
生态系统
- Open Terminal / Terminals (Enterprise): 为 Open WebUI 提供执行能力,使其成为完整的智能体运行框架,并通过企业级编排为每位用户管理独立工作空间。
- Knowledge Base Sync (oikb): 通过增量同步,将文件夹、代码仓库、存储桶和 Wiki 镜像到 Open WebUI 知识库。
- Open WebUI Computer: 在任意浏览器中使用你的电脑:文件、编辑器、终端、Git 和可选的 AI 智能体,均在你的真实机器上运行。
详情请参阅生态系统文档。
故障排查与更新
连接问题请参阅故障排查指南,更新安装请参阅更新指南。
文档
配置和使用方法请参阅文档,计划中的工作请参阅路线图。
Docker Compose、Kubernetes 及其他部署方式请参阅安装文档。
支持
提交 Issue 或发起讨论。
也可以在 Reddit、X 和 Discord 找到我们。
安全
请通过 GitHub 安全公告私下报告漏洞。安全报告仅通过 GitHub 接收。
Star 历史
许可证
包含采用 Open WebUI License 的代码,该许可证要求保留 Open WebUI 品牌标识;此前的贡献仍适用各自的原始许可证。条款和历史请参阅 LICENSE 和 LICENSE_HISTORY。
企业版 · 招聘 · 赞助
由 Timothy Jaeryang Baek 创建。Top issues
#21675enh: analytics103 comments · 2026-02-20#19313feat: User specific MCP headers46 comments · 2025-11-20#13464enh: notes46 comments · 2025-05-03#23339feat: Add model-level toggle to disable reinjecting reasoning/thinking into prompts (prevents <think> tag imitation and rendering/parsing failures)44 comments · 2026-04-02#8050enh: channels36 comments · 2024-12-25#12619feat: Different content extraction settings for chat and knowledge-base22 comments · 2025-04-08#23357feat: send audio and video directly to natively multimodal models instead of forcing STT transcription17 comments · 2026-04-02#5872feat: data sources15 comments · 2024-10-02
Discussions
#33941bug: Open Terminal selector disabled in legacy chats created with v0.13.0 or earlier (v0.13.2)1 comments · 2026-11-08#33904feat: Run OCR on chat images via the configured extraction engine and pass the text to the model alongside the image1 comments · 2026-11-07#33862Any quick toggle / fast switch to change PDFs handling engine?2 comments · 2026-11-07#33858[Feature Request] Bind TTS Auto-Playback to Model Parameters / Metadata for Multi-Device Contexts0 comments · 2026-11-07#33848The tab bar in a chat paints a solid strip over the Chat Background Image1 comments · 2026-11-06#33839feat: the Files pane's Ask or edit box fills the chat input when Insert Follow-Up Prompt to Input is on0 comments · 2026-11-06#33826Long chats with local models that pick up after a restart (llama.cpp add-on)0 comments · 2026-11-06#33822Knowledge Bases connected to Channels & Allow models to create knowledge base entries0 comments · 2026-11-06
Latest release
v0.13.2 v0.13.2 2026-11-08Fixed - 🔓 Chat over plain HTTP. Opening Open WebUI over plain HTTP at a LAN or Docker address now loads new and existing chats instead of staying on a spinner with "crypto.randomUUID is not a function". 33919 - 📝 Comments and Markdown editing over plain HTTP. Creating, replying to and editing comments, and editing Markdown files containing rendered blocks such as Mermaid diagrams or callouts, no longer fail with the same UUID error. Commit - 🎛️ Side Chat permission switch. The Allow Side Chat switch is now visible even when Temporary Chat is off, so administrators can configure the two permis
相关报道 (6)
CSDNGitHub Trending速递:五大热门开源项目背后的技术趋势与选型实战2026-11-09CSDNGitHub热点精选方法论:本地模型、AI前端与开源知识库实践2026-11-09StorageReview.comOpen WebUI Desktop 实战:在 Windows 上运行本地 LLM2026-10-19麻省理工科技评论如果明天互联网消失:这个年轻人希望为全人类留下一套“文明重启”的AI火种2025-11-29OSCHINAOpen WebUI v0.6.0 发布,正式支持 MCP2025-04-0753AIDeepSeek R1,本地部署才是王道!支持WebUI2025-01-29
News & coverage (18)
Hacker NewsOpen WebUI: ChatGPT-Style WebUI for Ollama▲ 29 · 3 comments · 2024-02-18Hacker NewsOpen WebUI License Change▲ 4 · 2 comments · 2025-05-06Hacker NewsAnnouncing the New Era of 'open-webui'▲ 3 · 0 comments · 2024-02-18Hacker NewsOpen WebUI v0.9.0 adds desktop app with task scheduling▲ 2 · 0 comments · 2026-04-22Hacker NewsOpenWebUI is not open source anymore▲ 2 · 0 comments · 2025-05-08Hacker NewsOpen WebUI Website Temporarily Inaccessible▲ 2 · 2 comments · 2025-02-26shattered.ioOpen WebUI vs LibreChat vs AnythingLLM: 3 Picks [2026]2026-11-04noteOpen WebUI's :latest is not a stable version. 3 things to know before updating2026-11-03noteHow to use open-webui: An introductory guide to talking to local AI via your browser2026-09-29TechRadar on MSNHow to self-host your own AI agent2026-08-25