Go to file
Mckay Wrigley 7810a3e7dc
Add GPT-4 support (#25)
* mobile ui updates

* fixes sidebar btn

* return if null

* mobile input blur

* handle mobile enter key

* new convo name

* new delete mechanism

* test height

* revert

* change padding

* remove overflow

* check relative

* padding

* done

* retry

* test

* test

* should work now

* test

* test

* more

* max h

* revert

* done
2023-03-20 03:53:00 -06:00
components Add GPT-4 support (#25) 2023-03-20 03:53:00 -06:00
pages Add GPT-4 support (#25) 2023-03-20 03:53:00 -06:00
public readme udpate 2023-03-15 06:20:11 -06:00
styles chatbot-ui starter 2023-03-13 19:21:14 -06:00
types Add GPT-4 support (#25) 2023-03-20 03:53:00 -06:00
utils Add GPT-4 support (#25) 2023-03-20 03:53:00 -06:00
.dockerignore 🐳 add Dockerfile (#17) 2023-03-19 06:49:41 -06:00
.eslintrc.json chatbot-ui starter 2023-03-13 19:21:14 -06:00
.gitignore chatbot-ui starter 2023-03-13 19:21:14 -06:00
Dockerfile 🐳 add Dockerfile (#17) 2023-03-19 06:49:41 -06:00
README.md readme update 2023-03-19 21:54:32 -06:00
docker-compose.yml 🐳 add Dockerfile (#17) 2023-03-19 06:49:41 -06:00
license chatbot-ui starter 2023-03-13 19:21:14 -06:00
next.config.js chatbot-ui starter 2023-03-13 19:21:14 -06:00
package-lock.json gfm 2023-03-18 07:51:17 -06:00
package.json gfm 2023-03-18 07:51:17 -06:00
postcss.config.js chatbot-ui starter 2023-03-13 19:21:14 -06:00
tailwind.config.js add markdown 2023-03-17 19:25:04 -06:00
tsconfig.json chatbot-ui starter 2023-03-13 19:21:14 -06:00

README.md

Chatbot UI

Note: Chatbot UI Pro has been renamed to Chatbot UI.

Chatbot UI is an advanced chatbot kit for OpenAI's chat models built on top of Chatbot UI Lite using Next.js, TypeScript, and Tailwind CSS.

It aims to mimic ChatGPT's interface and functionality.

All conversations are stored locally on your device.

See a demo.

Chatbot UI

Updates

Chatbot UI will be updated over time.

Expect frequent improvements.

Coming this week:

  • Saving via data export
  • Folders
  • Custom model settings
  • GPT-4 support for those with access
  • Prompt templates
  • Regenerate responses

Last week updates:

  • Markdown support (3/17/23)
  • Code syntax highlighting (3/18/23)
  • Toggle sidebar (3/18/23)
  • Conversation naming (3/18/23)
  • Github flavored markdown (3/18/23)
  • Add OpenAI API key in app (3/18/23)
  • Search conversations (3/19/23)

Modifications

Modify the chat interface in components/Chat.

Modify the sidebar interface in components/Sidebar.

Modify the system prompt in utils/index.ts.

Deploy

Vercel

Host your own live version of Chatbot UI with Vercel.

Deploy with Vercel

Replit

Fork Chatbot UI on Replit here.

Docker

docker build -t chatgpt-ui .
docker run -e OPENAI_API_KEY=xxxxxxxx -p 3000:3000 chatgpt-ui

Running Locally

1. Clone Repo

git clone https://github.com/mckaywrigley/chatbot-ui.git

2. Install Dependencies

npm i

3. Provide OpenAI API Key

Create a .env.local file in the root of the repo with your OpenAI API Key:

OPENAI_API_KEY=YOUR_KEY

4. Run App

npm run dev

5. Use It

You should be able to start chatting.

Contact

If you have any questions, feel free to reach out to me on Twitter.