Skip to content

Conversation

@mtojek
Copy link
Member

@mtojek mtojek commented Dec 4, 2025

Description

Open WebUI is a user-friendly web interface for interacting with Large Language Models. It provides a ChatGPT-like interface that can connect to various LLM providers including OpenAI, Ollama, and more.

This module installs and runs Open WebUI using Python and pip within your Coder workspace.

openwebui

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder-labs/modules/open-webui
New version: v0.9.0

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Local testing

module "open-webui" {
  count    = data.coder_workspace.me.start_count
  source   = "git::https://github.com/coder/registry.git//registry/coder-labs/modules/open-webui?ref=open-webui-module"
  
  http_server_log_path = "/tmp/open-webui.log"
  http_server_port = 7800
  data_dir = "/home/coder/.open-webui"
  openai_api_key = "sk-proj-..."

  agent_id = coder_agent.main.id
}

mtojek and others added 29 commits December 4, 2025 12:28
- Installs Open WebUI via pip (Python 3.11+ required)
- Auto-installs Python 3.11 from deadsnakes PPA if not available
- Configurable port, share level, logging
- Subdomain support for clean URLs
- Remove automatic Python installation - user must have Python 3.11+ in image
- Use virtual environment (~/.open-webui-venv) to avoid externally-managed-environment error
- Add set -e to fail script on errors
- Update README with installation instructions
This reverts commit abe133a.
@mtojek mtojek marked this pull request as ready for review December 4, 2025 13:32
@DevelopmentCats
Copy link
Contributor

@mtojek I left some comments, and kicked off the copilot review.

I will give this a test when I get a chance and will report back.

Copilot finished reviewing on behalf of DevelopmentCats December 4, 2025 14:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

- Set verified: false (new module)
- Fix tag: web-ui -> web
- Simplify export statements in run.sh
- Remove scaffolding comment from main.tf
- Add description to share variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants