Chatbot UI 2.0 will launch on Monday January 8th, 2024.
See a preview.
This repo will be completely overhauled with the updated codebase.
The old codebase will be available in a new repo.
There will be several hours of downtime on ChatbotUI.com while the new version is deployed.
We recommend exporting your data before the update!
Chatbot UI is an open source chat UI for AI models.
See a demo.
Chatbot UI will be updated over time.
Expect frequent improvements.
Next up:
- Sharing
- "Bots"
Vercel
Host your own live version of Chatbot UI with Vercel.
Docker
Build locally:
docker build -t chatgpt-ui .
docker run -e OPENAI_API_KEY=xxxxxxxx -p 3000:3000 chatgpt-uiPull from ghcr:
docker run -e OPENAI_API_KEY=xxxxxxxx -p 3000:3000 ghcr.io/mckaywrigley/chatbot-ui:main
1. Clone Repo
git clone https://github.com/mckaywrigley/chatbot-ui.git2. Install Dependencies
npm i3. Provide OpenAI API Key
Create a .env.local file in the root of the repo with your OpenAI API Key:
OPENAI_API_KEY=YOUR_KEYYou can set
OPENAI_API_HOSTwhere access to the official OpenAI host is restricted or unavailable, allowing users to configure an alternative host for their specific needs.
Additionally, if you have multiple OpenAI Organizations, you can set
OPENAI_ORGANIZATIONto specify one.
4. Run App
npm run dev5. Use It
You should be able to start chatting.
When deploying the application, the following environment variables can be set:
If you do not provide an OpenAI API key with OPENAI_API_KEY, users will have to provide their own key.
If you don't have an OpenAI API key, you can get one here.
If you have any questions, feel free to reach out to Mckay on Twitter.

