https://github.com/akileshjayakumar/nextjs-sdk-chatbot
https://github.com/akileshjayakumar/nextjs-sdk-chatbot
chatbot nextjs openai
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/akileshjayakumar/nextjs-sdk-chatbot
- Owner: akileshjayakumar
- License: mit
- Created: 2024-04-20T09:45:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-07T04:05:27.000Z (5 months ago)
- Last Synced: 2026-04-14T00:36:47.164Z (3 months ago)
- Language: TypeScript
- Homepage: https://nextjs-sdk-chatbot.vercel.app/
- Size: 107 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Next.js SDK Chatbot
A simple streaming chatbot built with Next.js, Vercel AI SDK, and OpenAI.
## Quick Start
```bash
git clone https://github.com/akileshjayakumar/nextjs-sdk-chatbot.git
cd nextjs-sdk-chatbot
npm install
```
## Capabilities
- Streaming assistant responses in the chat UI
- Server-side OpenAI call in `src/app/api/chat/route.ts`
- Edge runtime for low-latency request handling
- Tailwind + shadcn/ui components for a clean, responsive interface
## Configuration
- `OPENAI_API_KEY`: Required for related integrations/features.
## Usage
```bash
yarn dev
```
## Contributing and Testing
- Contributions are welcome through pull requests with clear, scoped changes.
- Run the following checks before submitting changes:
```bash
yarn lint
yarn build
```
## License
Licensed under the `MIT` license. See [LICENSE](./LICENSE) for full text.