Welcome to nextjs-chatgpt-app! 🎉🚀 Responsive chat application powered by OpenAI’s GPT-4, with chat streaming, code
highlighting, code execution, development presets, and more. The app is built using Next.js and TypeScript, and it’s
designed to be easy to use, customize, and extend. We encourage you to contribute and help improve this project! 😊

Try it out! 🎮

Click to fork and run on Vercel. Bring your own OpenAI API key.

Deploy with Vercel

Features & Roadmap

  • Chat with OpenAI’s GPT-4 🧠
  • System presets (Developer, Scientist, Executive, and ChatGPT) 🎭

  • Real-time streaming of AI responses
  • Cool stuff
    • Syntax highlighting for multiple languages 🌈
    • Code execution for TypeScript, JavaScript, and HTML code blocks 🖥️
    • Drag and drop files to add them to the prompt 📁

  • Dark mode 🌙
  • User-provided API keys
  • Developer-oriented features
  • Voice input
  • Mobile app (PWA)
  • Add your idea in the issues!

Why this? 💡

Because the official Chat is slower than the API, and the Playground UI doesn’t even highlight code.

Ask away, paste a ton, copy the gems

Developing 🚀

Simply clone the repository, install the dependencies, and run the development server:

git clone https://github.com/enricoros/nextjs-chatgpt-app.git
cd nextjs-chatgpt-app
npm install
npm run dev

Now the app should be running on http://localhost:3000.

Contributing 🙌

The source code is Very Simple™ 😀. We’d love to have you contribute to this project! Feel free to fork the repository,
make changes, and submit a pull request. If you have any questions or need help, feel free to reach out to us.

This project is licensed under the MIT License.


GitHub stars
GitHub forks
GitHub license

Made with 💙

Read More