This is a chatbot that reads up to date code and always sends the up to date project code in the user message so the ai chatbot can bug-fix, troubleshoot and create new modules for the user with ease.
- Next.js
- OpenAI API (ChatGPT) - streaming
- API Routes (Edge runtime) - streaming
You can choose from one of the following two methods to use this repository:
Rename .env.example
to .env.local
:
cp .env.example .env.local
then, update OPENAI_API_KEY
with your OpenAI secret key.
Next, run Next.js in development mode:
pnpm dev
The app should be up and running at http://localhost:3000.