Skip to content

A simple chatbot starter kit for OpenAI's chat model using Next.js, TypeScript, and Tailwind CSS.

License

Notifications You must be signed in to change notification settings

RowanRocket42/chatbot-ui

 
 

Repository files navigation

# Chatbot UI A simple chatbot starter kit for OpenAI's chat model using Next.js, TypeScript, and Tailwind CSS. See a [demo](https://twitter.com/mckaywrigley/status/1634549098954248193?s=46&t=AowqkodyK6B4JccSOxSPew). ![Chatbot UI](./public/screenshot.png) ## Features Chatbot UI provides a simple, fully-functional chat interface that you can use to start building your own chatbot apps powered by OpenAI. It has everything you need to hit the ground running. Modify the chat interface in `components/Chat`. Tweak the system prompt in `utils/index.ts`. Tweak the assistant prompt in `pages/index.tsx`. ## Deploy **Vercel** Host your own live version of Chatbot UI with Vercel. [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmckaywrigley%2Fchatbot-ui&env=OPENAI_API_KEY&envDescription=OpenAI%20API%20Key%20needed%20for%20chat.&envLink=https%3A%2F%2Fopenai.com%2Fproduct&project-name=chatbot-ui&repository-name=chatbot-ui) **Replit** Fork Chatbot UI on Replit [here](https://replit.com/@MckayWrigley/chatbot-ui). ## Running Locally **1. Clone Repo** ```bash git clone https://github.com/mckaywrigley/chatbot-ui.git ``` **2. Install Dependencies** ```bash npm i ``` **3. Provide OpenAI API Key** Create a .env.local file in the root of the repo with your OpenAI API Key: ```bash OPENAI_API_KEY= ``` **4. Run App** ```bash npm run dev ``` **5. Start Building** You should be able to start chatting with the bot. Now, go build the app into whatever kind of chatbot you want! ## Contact If you have any questions, feel free to reach out to me on [Twitter](https://twitter.com/mckaywrigley). I'd also love to see what you build with this starter kit - share your projects with me! # Lara-english-test

About

A simple chatbot starter kit for OpenAI's chat model using Next.js, TypeScript, and Tailwind CSS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.0%
  • JavaScript 3.5%
  • CSS 0.5%