Skip to content

Basic starter for new chatGPT 3.5 api working with the new Next app dir, route handlers and Edge runtime

Notifications You must be signed in to change notification settings

alxgrg/gpt-next-app-dir-starter

Repository files navigation

ChatGPT Next 13 App Router Starter

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.

Running locally

  1. Clone the repo
  2. Make an account at OpenAI
  3. Generate an API key
  4. Store it in your .env file as OPENAI_API_KEY
  5. Run npm run dev to start the development server.
  6. Visit http://localhost:3000 to view your application

About

Basic starter for new chatGPT 3.5 api working with the new Next app dir, route handlers and Edge runtime

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published