OpenUI — describe a UI in natural language and watch it render live, then convert it to React/Svelte/HTML. Works with OpenAI, Anthropic, Groq and local Ollama. Deployed as a single stateless host-networked Nomad service.
Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.
Source ↗ Project ↗ ★ 22.6k ⚑ Report an issue
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "openui"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The OpenUI container image. Pin a tag in production.
image = "ghcr.io/wandb/openui:latest"
# Host port for the OpenUI web UI. Fixed at 7878 inside the image.
port = 7878
# URL of an Ollama server to use for local models (OLLAMA_HOST). On a nomploy node with the ollama pack, the default loopback works.
ollama_host = "http://127.0.0.1:11434"
# Optional OpenAI API key (OPENAI_API_KEY) to enable OpenAI models. Leave empty to use only Ollama / other providers set via env.
openai_api_key = ""
# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# The task resources.
resources = {
cpu = 300
memory = 256
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "openui" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "ghcr.io/wandb/openui:latest" | The OpenUI container image. Pin a tag in production. |
| port | number | 7878 | Host port for the OpenUI web UI. Fixed at 7878 inside the image. |
| ollama_host | string | "http://127.0.0.1:11434" | URL of an Ollama server to use for local models (OLLAMA_HOST). On a nomploy node with the ollama pack, the default loopback works. |
| openai_api_key key | string | "" | Optional OpenAI API key (OPENAI_API_KEY) to enable OpenAI models. Leave empty to use only Ollama / other providers set via env. |
| constraints | list | [] | Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 300
memory = 256
} | The task resources. |
No variables match.
OpenUI — describe a user interface in natural language and watch it render live in the browser, then tweak it by chatting and convert the result to React, Svelte, Web Components or plain HTML. A fun, fast way to prototype UI, backed by the LLM of your choice.
Single stateless host-networked Nomad service (no volume).
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run openui --registry=nomploy
| Variable | Default | Description |
|---|---|---|
port |
7878 |
Web UI port. Fixed at 7878 inside the image. |
ollama_host |
http://127.0.0.1:11434 |
Ollama server for local models (OLLAMA_HOST). |
openai_api_key |
"" |
Optional OpenAI key (OPENAI_API_KEY) to enable OpenAI models. |
image |
ghcr.io/wandb/openui:latest |
Container image. Pin a tag in production. |
resources |
{ cpu = 300, memory = 256 } |
Task resources. |
Bring a model: point
ollama_hostat a local ollama for a fully self-hosted setup, or setopenai_api_key(or add other provider keys likeANTHROPIC_API_KEY/GROQ_API_KEYto the task env). Being stateless, it needs no storage — put it behind an authenticating reverse proxy if it shouldn't be public.