Skip to content

Chatbot UI ​

Chatbot UI is an open-source ChatGPT-style web frontend that supports custom OpenAI-compatible endpoints.

Official repository: https://github.com/mckaywrigley/chatbot-ui

Self-hosted deployment ​

For self-hosted instances, configure the custom endpoint via environment variables:

OPENAI_API_KEY=codex_your_api_key
OPENAI_API_HOST=https://codex.openai.com/v1

Restart the service after setting the variables. When environment variables are set, the corresponding UI input fields are disabled to prevent credential exposure on shared instances.

UI settings ​

For instances that allow UI configuration, fill in the settings panel:

FieldValue
OpenAI API KeyYour codex_... or sk-... key
OpenAI API Host / Base URLhttps://codex.openai.com/v1

Notes ​

  • Chatbot UI requires Supabase for authentication and data storage
  • The API Host takes the base URL including /v1
  • Available models can be found via GET /v1/models

OpenAI-compatible gateway integration docs