---
title: "Deploy openui"
description: "Deploy OpenUI: AI-powered UI generation with GitHub OAuth and OpenAI API."
category: "AI/ML"
url: https://railway.com/deploy/NzJO6n
---

# Deploy openui

Deploy OpenUI: AI-powered UI generation with GitHub OAuth and OpenAI API.

**[Deploy openui on Railway](https://railway.com/template/NzJO6n)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/NzJO6n/manifest.json

- **Creator:** zexd's Projects
- **Category:** AI/ML
- **Total deploys:** 5

## Template content

### openui

- **Image:** ghcr.io/wandb/openui:latest
- **Start command:** `python -m openui --litellm --host 0.0.0.0`
- **Public domain:** Yes

## Documentation

# OpenUI on Railway

This template deploys a production-ready instance of [OpenUI](https://github.com/wandb/openui) on Railway.

## Environment Variables

To run this project, you need to set the following environment variables:

| Variable | Description |
|----------|-------------|
| `GITHUB_CLIENT_ID` | Your GitHub OAuth App Client ID |
| `GITHUB_CLIENT_SECRET` | Your GitHub OAuth App Client Secret |
| `OPENAI_API_KEY` | Your OpenAI API Key |
| `OPENUI_CORS_ORIGINS` | Allowed CORS origins (comma-separated) |
| `OPENUI_ENVIRONMENT` | Environment setting (e.g., 'production') |
| `OPENUI_HOST` | Host URL for your OpenUI instance |

## Features

- Seamless deployment of OpenUI on Railway
- GitHub OAuth integration for user authentication
- OpenAI API integration for AI-powered UI generation
- Customizable CORS settings and environment configuration

## Getting Started

1. Click the "Deploy on Railway" button
2. Set up the required environment variables
3. Deploy your OpenUI instance

For more information on configuring and using OpenUI, please refer to the [official documentation](https://github.com/wandb/openui).

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/NzJO6n
