Giao diện Libre WebUI
Mã Nguồn Mở & Tự Lưu Trữ

AI Của Bạn, Quy Tắc Của Bạn

v0.11.0 Có gì mới?
Ghi chú phát hành Xem tất cả →
✨ New Features
  • Added optional Cloudflare Turnstile protection for public account creation, configured from backend environment variables and rendered only when enabled.
  • Added Tailscale-friendly development hosting/origin support so Libre WebUI can be reached from another device during local development.
  • Added Playwright e2e coverage for demo login, one-user mode, artifact detection/rendering, artifact resize behavior, cloud-model regression coverage, mobile sidebar behavior, and async locale loading.
🔧 Improvements
  • Set blue as the default accent color and polished the remaining auth, artifact demo, badge, icon, logo, and model-flow surfaces to follow the current design system.
  • Improved artifact reliability for multi-file HTML, filename-qualified bundles, standalone full HTML documents, local file reference cleanup, and themed empty/fallback preview states.
  • Made artifact pane resizing release pointer state correctly so the pane no longer feels stuck to the mouse after resize.
  • Made code-block streaming smoother with requestAnimationFrame-coalesced updates, a lightweight streaming code renderer, lazy rich markdown rendering, and split markdown/math/highlighting chunks.
  • Reworked title generation so it honors the existing toggle, resolves the current running model correctly, supports plugin-backed title generation, falls back to Ollama, and sanitizes generated titles.
  • Split major backend chat orchestration into focused services for WebSocket handling, shared chat context, assistant completion persistence, plugin streaming, Ollama streaming, title generation, and request preparation.
  • Split plugin capabilities into smaller adapters/services for chat, streaming, embeddings, image generation, TTS, validation, uploads, variables, and provider response conversion.
  • Slimmed large frontend surfaces by extracting Settings tabs, Model Manager sections, Model Selector tabs, Persona Form tabs, Sidebar sections, API domain clients, and chat store helpers.
  • Added gated frontend/backend loggers and routed noisy development diagnostics through explicit debug controls.
  • Updated release tooling with a security preflight and kept the production build free of the previous large chunk warnings.
🐛 Bug Fixes
  • Fixed toggled session title generation so titles are generated only when the option is enabled.
  • Fixed demo mode persona avatars so bundled/local demo images render correctly.
  • Fixed chat routing and settings state edge cases after the shared generation refactor.
  • Fixed dark-mode artifact demo surfaces so generated previews no longer fall back to the old default blue styling.
  • Added regression coverage around cloud model suffix handling without re-documenting the 0.10.0 cloud model feature itself.
🔒 Security & Dependencies
  • Remediated npm security advisories and refreshed dependency locks after 0.10.0, including updates around multer, undici, ws, ip-address, brace-expansion, tmp, and qs.
  • Added npm audit to the release preflight path and verified the package lock reports zero vulnerabilities after the release update.
  • Updated GitHub Actions dependencies, including actions/checkout, and hardened the release workflow checks before publishing.
📚 Documentation
  • Refreshed the README to describe the current Libre WebUI product, model/provider story, install paths, and project positioning.
  • Audited and rewrote the project docs so the model examples, setup guidance, plugin docs, auth docs, artifacts docs, environment variables, and deployment guides match the current application.
  • Updated DESIGN.md with the current blue-accent direction and UI guidance without repeating the 0.10.0 custom-accent release notes.
⚠️ Breaking Changes
  • No known user-facing breaking changes. The plugin and chat internals were heavily refactored, but existing plugin configuration and normal app workflows remain compatible.

Giao diện chat AI ưu tiên quyền riêng tư. Chạy cục bộ với Ollama hoặc kết nối OpenAI, Anthropic và hơn 9 nhà cung cấp. Không thu thập dữ liệu. Không theo dõi.

npx libre-webui

Yêu cầu Node.js 18+ và Ollama cho AI cục bộ

Giao diện Libre WebUI
Không Thu Thập Dữ Liệu
Tự Lưu Trữ
Apache 2.0
Hệ Thống Plugin

Mọi Thứ Bạn Cần

Giải pháp chat AI hoàn chỉnh tôn trọng quyền riêng tư của bạn

Artifacts Tương Tác

Artifacts Tương Tác

Render HTML, SVG và components React trực tiếp trong chat. Xem trước trực tiếp với chế độ toàn màn hình.

AI Cục Bộ & Đám Mây Chat Tài Liệu (RAG) Biến Plugin

AI Cục Bộ & Đám Mây

Chạy model cục bộ với Ollama hoặc kết nối OpenAI, Anthropic, Groq, Gemini, Mistral và nhiều hơn nữa. Lựa chọn của bạn.

Chat Tài Liệu (RAG)

Tải lên PDF, tài liệu và file văn bản. Đặt câu hỏi về tài liệu với tìm kiếm ngữ nghĩa và vector embeddings.

Artifacts Tương Tác

Render HTML, SVG và components React trực tiếp trong chat. Xem trước trực tiếp với chế độ toàn màn hình.

Mã Hóa AES-256

Mã hóa cấp doanh nghiệp cho tất cả dữ liệu. Lịch sử chat, tài liệu và cài đặt được mã hóa khi lưu trữ.

Nhân Vật Tùy Chỉnh

Tạo tính cách AI với hành vi độc đáo và system prompts. Nhập/xuất nhân vật dưới dạng JSON.

Chuyển Văn Bản Thành Giọng Nói

Nghe phản hồi AI với nhiều tùy chọn giọng nói. Hỗ trợ TTS trình duyệt và tích hợp ElevenLabs.

Tạo Hình Ảnh

Tạo hình ảnh với ComfyUI và mô hình Flux. Nhiều kích thước, cài đặt chất lượng và tích hợp liền mạch với trò chuyện.

Biến Plugin

Cài đặt có thể cấu hình cho từng plugin như nhiệt độ, endpoint và token. Các giá trị nhạy cảm được mã hóa khi lưu trữ.

Phím Tắt

Phím tắt theo phong cách VS Code cho người dùng chuyên nghiệp. Điều hướng, bật/tắt cài đặt và kiểm soát mọi thứ từ bàn phím.

Hỗ Trợ Nhiều Người Dùng

Kiểm soát truy cập dựa trên vai trò với hỗ trợ SSO. OAuth GitHub và Hugging Face tích hợp sẵn.

Kết Nối Với Bất Kỳ Nhà Cung Cấp Nào

Một giao diện, khả năng vô hạn

Ollama
Model cục bộ
OpenAI
GPT-4o, o1, o3
Anthropic
Claude 4, Opus
Groq
Llama, Mixtral
Google
Gemini Pro
Mistral
Mistral Large
OpenRouter
400+ model
HuggingFace
1M+ models
+ Custom
Bất kỳ API tương thích OpenAI nào

Bắt Đầu Trong Vài Giây

Chọn phương thức cài đặt ưa thích của bạn

Khuyên dùng

npx (Một Lệnh)

npx libre-webui

Chạy ngay lập tức. Không cần cài đặt.

npm (Cài Đặt Toàn Cục)

npm install -g libre-webuilibre-webui

Cài một lần, chạy ở bất kỳ đâu.

Docker

docker run -p 8080:8080 libre-webui/libre-webui

Triển khai container hóa.

Tạo Plugin Tùy Chỉnh

Kết nối bất kỳ LLM tương thích OpenAI nào với file JSON đơn giản

Plugin Có Sẵn

Plugin chính thức từ kho Libre WebUI. Nhấp để xem hoặc tải xuống.

Đang tải plugin từ GitHub...
📄 custom-model.json
{
  "id": "custom-model",
  "name": "Custom Model",
  "type": "completion",
  "endpoint": "http://localhost:8000/v1/chat/completions",
  "auth": {
    "header": "Authorization",
    "prefix": "Bearer ",
    "key_env": "CUSTOM_MODEL_API_KEY"
  },
  "model_map": [
    "my-fine-tuned-llama"
  ],
  "variables": [
    {
      "name": "temperature",
      "type": "number",
      "label": "Temperature",
      "default": 0.7,
      "min": 0, "max": 2
    }
  ]
}

Tạo Plugin Của Riêng Bạn

1

Khởi Động Server LLM

Chạy bất kỳ server tương thích OpenAI nào: llama.cpp, vLLM, Ollama hoặc server FastAPI tùy chỉnh.

2

Tạo Plugin JSON

Định nghĩa endpoint, xác thực và các model có sẵn trong file JSON đơn giản.

3

Tải Lên Libre WebUI

Đi đến Cài đặt > Nhà cung cấp, tải plugin của bạn lên và nhập khóa API.

4

Bắt Đầu Chat

Các model tùy chỉnh của bạn xuất hiện trong bộ chọn model. Quyền riêng tư hoàn toàn, kiểm soát hoàn toàn.

Tham Chiếu Các Trường Plugin

id Định danh duy nhất (chữ thường, cho phép gạch ngang)
name Tên hiển thị trong giao diện
type "completion" cho chat, "tts" cho chuyển văn bản thành giọng nói
endpoint URL API (vd., /v1/chat/completions)
auth.header Tên header xác thực (Authorization, x-api-key)
auth.prefix Tiền tố khóa ("Bearer " hoặc trống)
auth.key_env Biến môi trường cho khóa API của bạn
model_map Mảng định danh model có sẵn
variables Cài đặt có thể cấu hình (nhiệt độ, endpoint, v.v.)

Sẵn Sàng Sở Hữu AI Của Bạn?

Tham gia cùng hàng nghìn người dùng đánh giá cao quyền riêng tư và kiểm soát.