# openchat-ui
**Repository Path**: lihang_book/openchat-ui
## Basic Information
- **Project Name**: openchat-ui
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-04-13
- **Last Updated**: 2025-04-13
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# ✨ OpenChat UI
OpenChat UI is a forked version of Chatbot UI that supports OpenChat models.

# 🚀 Deploy
## 💻 Running Locally
**1. Clone Repo**
```bash
git clone https://github.com/imoneoi/openchat-ui.git
```
**2. Install Dependencies**
```bash
npm i
```
**3. Configuration**
> [!WARNING]
> The following config assumes OpenChat API server is listening on `http://localhost:18888`. You should [set it up](https://github.com/imoneoi/openchat#-deploying-api-server) if not.
> [!NOTE]
> Please note that OpenChat API server is using an OpenAI-compatible API protocol running locally. `OPENAI_API_KEY` can be set to anything (no actual OpenAI API key needed).
Create a .env.local file in the root of the repo with the following content.
```bash
OPENAI_API_HOST=http://localhost:18888
OPENAI_API_KEY=sk-dummy
NEXT_PUBLIC_DEFAULT_TEMPERATURE=0.5
NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT=" "
```
**4. Run App**
```bash
npm run dev
```
**5. Use It**
You should be able to start chatting.
## 📎 Vercel
Host your own live version of Chatbot UI with Vercel. Note that you should set environment variables shown in the [Configuration](#configuration) section in Vercel.
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fimone%2Fopenchat-ui)