← Back to Leaderboard
Owandb

wandb/openui

Self-hosted UI prototyping with live previews and pluggable LLM backends

Engineering Health (Methodology)
A · 79/100
Maintenance Activity
● Updated 29d ago
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance31/35
Fork Adoption22/25
Release Cadence6/20
License Clarity20/20
DockerSelf-HostedLocal AI
Total Stars
★ 22,811
24h Growth
+7
7d Growth
+45
Forks
2,073

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

wandb/openui Star History (2024-03-28 - 2026-12-04) ALL-TIME STAR HISTORY (2024-03 – 2026-12) +22.8k in 981d · avg +23/day 24.1k 12k 0 2024-03-28: ★ 12024-06-01: ★ 15,0172024-08-03: ★ 17,0882024-10-05: ★ 18,1962024-12-07: ★ 18,7532025-02-08: ★ 19,2002025-04-12: ★ 19,6442025-06-14: ★ 20,9132025-08-16: ★ 21,1242025-10-18: ★ 21,2802025-12-20: ★ 21,4662026-02-21: ★ 21,6822026-04-25: ★ 21,9962026-06-27: ★ 22,2402026-08-29: ★ 22,4012026-10-31: ★ 22,6852026-12-04: ★ 22,811 ★ 22.8k 2024-03 2025-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

OpenUI pairs a TypeScript browser frontend in frontend/ with a Python backend in backend/, launched through python -m openui. The browser is where users describe a UI, inspect the rendered output, and request revisions. The backend connects that workflow to the selected inference service rather than tying the application to one model runtime.

The integration boundary is model routing. OpenUI connects to Ollama over HTTP through OLLAMA_HOST and can derive LiteLLM configuration from environment variables. A custom litellm-config.yaml in the working directory, /app/litellm-config.yaml in Docker, or a file designated by OPENUI_LITELLM_CONFIG can override that configuration. This lets operators change model endpoints without rewriting the preview workflow.

Key Capabilities & Differentiators

The core workflow is to generate a UI from a natural-language brief, inspect it in a live preview, and revise it through follow-up requests. OpenUI can convert generated HTML into React, Svelte, or Web Components. These outputs are useful starting points for component implementation, not evidence of a complete application build pipeline.

Inference options include OpenAI and Groq, providers such as Anthropic and Gemini through LiteLLM, and models served by Ollama. An OpenAI-compatible endpoint can be added under LiteLLM and surfaced in the model selector, allowing teams to reuse an existing inference server. LLaVA is an example of an image-capable Ollama model; image support should not be assumed for every selectable model.

Trade-offs & Limitations

Compared with v0, OpenUI trades a more polished managed experience for control over hosting and inference. A hosted provider avoids local GPU provisioning but introduces API charges and an external boundary for prompt data. Ollama can keep inference local once the model is provisioned, but the operator takes responsibility for model storage, memory sizing, and throughput. Self-hosting just the frontend and backend does not make cloud inference local.

The default Compose setup may be slow for local generation. GPU acceleration may require a different Ollama image tag and a compatible host setup; on Apple Silicon, running Ollama natively is the practical option. Before adopting the export workflow, test representative components for responsive behavior, accessibility, and compatibility with your framework and design system. A successful preview alone does not establish that the output is ready to merge.

Hardware & Deployment Guide

The published ghcr.io/wandb/openui image is the shortest path to a running instance on port 7878. Forward only the credentials required by your provider or set OLLAMA_HOST to a reachable instance. The root docker-compose.yaml can run both services, connects OpenUI to http://ollama:11434, and persists Ollama models. The Compose file publishes the Ollama port as well; restrict it if clients outside the Docker network do not need direct access.

For a source install, use Git and uv, run uv sync --frozen --extra litellm in backend/, then launch python -m openui from the activated environment. The development workflow runs python -m openui --dev alongside npm run dev in frontend/, with the development UI on port 5173. A local inference setup still needs model files provisioned up front. No formal release milestone is listed; record the tested commit and container digest rather than treating latest as a reproducible version.

Generation loop: Generate from a natural-language brief, preview the rendered UI, and request changes in the same workflow.
Conversion targets: Turn generated HTML into React, Svelte, or Web Components for downstream integration.
Provider routing: Use OpenAI, Groq, Ollama, or LiteLLM; OpenAI-compatible models appear under LiteLLM in the model selector.
Configuration override: Replace the environment-derived LiteLLM configuration with litellm-config.yaml or a path set through OPENUI_LITELLM_CONFIG.
Container topology: Compose serves OpenUI on port 7878 and connects to Ollama at http://ollama:11434, with persistent model storage at /root/.ollama.
Development loop: Run python -m openui --dev and the frontend's npm run dev separately; use port 5173 for the live-reloading development UI.
Best For

Design and frontend teams prototyping UI components from prompts, especially when they want to reuse a local or OpenAI-compatible inference service and refine the generated code themselves.

Skip If

You want a polished managed workflow with no model operations, or need generated components to meet production standards without engineering review.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedLocal AI
export ANTHROPIC_API_KEY=xxx
export OPENAI_API_KEY=xxx
docker run --rm --name openui -p 7878:7878 -e OPENAI_API_KEY -e ANTHROPIC_API_KEY -e OLLAMA_HOST=http://host.docker.internal:11434 ghcr.io/wandb/openui

Comparison vs. Top Chat UI & AI Apps Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
openui ★22.8k+45TypeScriptApache-2.0Self-hosted UI prototyping with live previews and pluggable LLM backends
dyad22.5k+59TypeScript—Local desktop AI app builder with bring-your-own-key model access
open-codesign8.3k+54TypeScriptMITLocal-first Electron app for turning prompts into prototypes and decks with your
open-design110.9k+1kTypeScriptApache-2.0Local-first design workspace that turns coding-agent output into reviewable prot

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/wandb/openui.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

wandb/openui Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about openui

How do I connect an existing OpenAI-compatible model server?

Set OPENAI_COMPATIBLE_ENDPOINT and, if the endpoint requires authentication, OPENAI_COMPATIBLE_API_KEY. The integration exposes models under LiteLLM in the model selector. On a source install, include the litellm extra and launch with python -m openui --litellm. Use OPENUI_LITELLM_CONFIG if you need to override the generated routing configuration.

Do I need a GPU, and how should I size the host?

With a hosted API, inference runs at the provider, so OpenUI does not need a local inference GPU. With Ollama, size RAM and VRAM for the selected model, context length, and concurrency; there is no universal VRAM target. Start with one generation at a time and measure memory use and response time on representative prompts. On Apple Silicon, prefer native Ollama over the default Compose setup.

Can a company self-host or redistribute OpenUI?

Apache-2.0 permits commercial use, modification, and redistribution of OpenUI. If you distribute it or a modified version, comply with the license's applicable requirements for license copies, notices, and marking changed files. The terms for model weights and hosted APIs are separate. Self-hosting OpenUI does not keep prompts on your infrastructure if you select a cloud model.

When should I choose OpenUI over v0?

Choose OpenUI when running the app yourself, selecting your inference backend, or converting generated HTML into several component formats matters more than polish. Choose v0 if you want a more polished hosted workflow and do not want to operate the generation stack. Before committing, test both on a representative component and compare how much rework is needed to integrate it into your codebase.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining wandb/openui? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature wandb/openui on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare