Just an input to prompt ChatGPT and stream the response. Adapted from the AI Twitter Bio Generator template by Hassan El Mghari to work with the new app dir and route handlers.
- Clone the repo
- Make an account at OpenAI
- Generate an API key
- Store it in your
.env
file asOPENAI_API_KEY
- Run
npm run dev
to start the development server. - Visit
http://localhost:3000
to view your application