Mã Nguồn Mở & Tự Lưu Trữ

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

v0.10.0 Có gì mới?
Ghi chú phát hành Xem tất cả →
✨ New Features
  • Added a bundled llama.cpp completion provider profile for qwen3-35b-a3b, including configurable endpoint, sampling, token, penalty, and streaming defaults
  • Added an Ollama Cloud category in the Models library and model selector, backed by Ollama's dedicated cloud listing
  • Added custom accent selection in Appearance with violet, blue, cyan, teal, emerald, amber, rose, slate, and custom color options
  • Added runtime-generated accent shade scales so custom accents can drive buttons, links, focus rings, sliders, progress bars, selected states, and glow shadows
🔧 Improvements
  • Reworked Tailwind theme tokens to use CSS variables for primary and accent, with generated custom palettes meeting white-text contrast targets
  • Refined light and dark neutral palettes to reduce glare while preserving contrast across app backgrounds, panels, inputs, and message surfaces
  • Persisted accent preferences through frontend state, backend preferences, import/export defaults, local rehydration, logout cleanup, and demo mode
  • Added accent translation keys across all supported locales and verified locale key parity against English
  • Expanded demo-mode preference APIs so Appearance, generation, embedding, system-message, and default-model settings can be exercised without a backend connection
  • Standardized the Libre WebUI wordmark through a shared Logo component across loading, login, setup, sidebar, and settings surfaces
  • Replaced fixed violet styling in persona adaptive-learning controls with active-accent tokens
  • Recolored Ollama library and Cloud badges from cyan to the design-system info-blue treatment
  • Reduced noisy debug logging across optional auth, chat, document search, plugin lookup, plugin deletion, TTS, image generation, and WebSocket auth paths
  • Returned package version in auth system info for UI/version display
  • Updated Dependabot targeting to main and ignored incompatible Electron and ESLint major bumps until their upstream compatibility gaps are resolved
🐛 Bug Fixes
  • Fixed a critical app-wide Too many re-renders crash in SettingsModal by memoizing image-generation model/plugin arrays
  • Fixed Ollama Cloud model pulls by tagging cloud library results with :cloud before install/run actions
  • Fixed Ollama Cloud generation failures by stripping unsupported non-positive num_predict values before cloud requests
  • Fixed cloud model pull functionality
  • Fixed auto-title generation for persona/current-model workflows by resolving the real running model before sending title prompts
  • Quietly handles expired or invalid JWTs in auth and WebSocket flows without dumping routine stack traces
  • Kept the lint toolchain on ESLint 9 for compatibility with the current React plugin stack
📚 Documentation
  • Expanded DESIGN.md with custom accent presets, generated shade-scale behavior, token usage rules, light/dark neutral guidance, and contrast requirements
📦 Dependencies
  • Bumped package versions to 0.10.0
  • Updated Electron to 41.7.1 and Electron Builder to 26.15.2
  • Bumped frontend/backend dependencies including React Query, i18next, KaTeX, lucide-react, React Router, Vite, pdfjs-dist, TypeScript tooling, Tailwind Merge, Zustand, Express, Multer, Better SQLite3, and related lockfile entries
  • Remediated npm security advisories through dependency and lockfile updates, including qs, tmp, ip-address, brace-expansion, ws, and related transitive packages

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
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

🤖

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.