I built a zero-backend, browser-only alternative to Open WebUI and heavy LLM stacks
说明与用途
Lab 是一个轻量级、完全客户端的 LLM 接口,消除了对繁重后端和 Docker 设置的需求,使用 IndexedDB 存储数据,并支持本地 Ollama 模型。
问题
Open-source LLM chat interfaces typically require heavy backends, databases, and Docker setups, which is overkill for simple local or browser-based use cases.
结果
Lab eliminates the need for heavy backends, reduces resource usage, and provides fine-grained context control while remaining fully local and offline-capable.
工作流
- 1. Install Lab via the live demo or clone the GitHub repo.
- 2. Configure local Ollama by setting OLLAMA_ORIGINS=* in the systemd service file and restarting.
- 3. Open Lab in a browser over HTTPS.
- 4. Connect to the local Ollama instance at http://localhost:11434.
- 5. Use Lab’s UI to chat, inspect token usage, pin messages, and switch providers.
- 6. Persist data locally in IndexedDB via Dexie.js.
- 7. Optionally install Lab as a PWA for offline use.
证据
Everything executes entirely on the client side in your browser.
Local Storage via IndexedDB: Chats, model configs, system prompts, and API keys are persisted locally in your browser using Dexie.js.
- 记录日期: 2026-09-18T04:45:33.836Z