Nomploy Nomad Packs

← All packs

openui v0.1.0

AI

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.

nomad-pack run openui --registry nomploy
…or one line (add registry + run)
curl -fsSL https://packs.nomploy.com/install.sh | sh -s -- openui

Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.

1 task http 7878 image ghcr.io/wandb/openui:latest tracks :latest image bumped today
Variables 9
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run openui -f values.hcl --registry nomploy
# 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
  }
NameTypeDefaultDescription
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.
Readme

openui

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

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run openui --registry=nomploy

Configure

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_host at a local ollama for a fully self-hosted setup, or set openai_api_key (or add other provider keys like ANTHROPIC_API_KEY/GROQ_API_KEY to the task env). Being stateless, it needs no storage — put it behind an authenticating reverse proxy if it shouldn't be public.