Go to file
Sonny Lazuardi 3af4a7edf3
Fix safari small screen text input position style (#20)
* Update .gitignore

* Update next.config.js

* Enable GPT-4

* Update index.ts

* Fix logic

* Fix error

* Add set openai key instruction

* Fix menu safari

* Revert changes

* new line

---------

Co-authored-by: Sonny <sonny.lazuardi@grabtaxi.com>
2023-03-19 21:47:03 -06:00
components Fix safari small screen text input position style (#20) 2023-03-19 21:47:03 -06:00
pages add more mobile ui (#18) 2023-03-19 06:48:57 -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 mvp 2023-03-15 06:04:12 -06:00
utils add api key 2023-03-18 22:19:19 -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 🐳 add Dockerfile (#17) 2023-03-19 06:49:41 -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.

Next up:

  • Mobile view
  • Saving via data export
  • Folders
  • Change default prompt

Recent 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)

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.