openui  by wandb

UI prototyping tool using LLMs

created 1 year ago
21,619 stars

Top 2.0% on sourcepulse

GitHubView on GitHub
Project Summary

OpenUI is an open-source tool for rapidly generating and iterating on UI components using natural language descriptions. It targets developers and designers seeking to accelerate UI prototyping and development, offering a flexible way to translate imaginative ideas into functional code across various frameworks.

How It Works

OpenUI leverages large language models (LLMs) to interpret user prompts and generate UI code. It supports multiple LLM providers via LiteLLM, including OpenAI, Groq, Gemini, and Anthropic, and can also integrate with local models through Ollama. The system allows for iterative refinement of generated UIs by accepting further natural language commands and can convert existing HTML into different frontend frameworks like React, Svelte, and Web Components.

Quick Start & Requirements

  • Docker: docker run --rm --name openui -p 7878:7878 -e OPENAI_API_KEY=xxx ghcr.io/wandb/openui
  • From Source: Clone repo, cd openui/backend, uv sync --frozen --extra litellm, source .venv/bin/activate, set API keys, python -m openui.
  • Prerequisites: API keys for desired LLMs (OpenAI, Groq, etc.), Ollama for local models.
  • Resources: Docker image available. Development setup via Dev Container, Codespaces, or Gitpod is recommended.
  • Docs: Frontend, Backend

Highlighted Details

  • Supports OpenAI, Groq, Gemini, Anthropic, Cohere, Mistral, and Ollama models via LiteLLM.
  • Enables conversion of generated HTML to React, Svelte, and Web Components.
  • Offers a live demo for immediate testing.
  • Includes a development container for streamlined local setup.

Maintenance & Community

  • Developed by wandb.
  • Community support channels are not explicitly mentioned in the README.

Licensing & Compatibility

  • The README does not explicitly state a license.

Limitations & Caveats

The project is described as "not as polished" as commercial alternatives. Docker Compose setup may be slow, and GPU support for Ollama within Docker requires specific tag adjustments.

Health Check
Last commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
1
Star History
625 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Pietro Schirano Pietro Schirano(Founder of MagicPath), and
1 more.

SillyTavern by SillyTavern

3.2%
17k
LLM frontend for power users
created 2 years ago
updated 3 days ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), and
13 more.

open-webui by open-webui

0.9%
105k
Self-hosted AI platform for local LLM deployment
created 1 year ago
updated 1 day ago
Feedback? Help us improve.