Next.js ChatGPT πŸ€–πŸ’¬

🚨 Attention! We're adding cool new features to the app! 🚨 (bare-bones was 466a36)

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! 😊

Official Website

Click to fork and run on Vercel, or check out the demo (bring your own API keys).

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
  • πŸŽ‰ NEW Support for GPT 3.5 Turbo πŸ’¨ - @koganei
  • πŸŽ‰ NEW Custom system purpose 🎭 - @typpo
  • πŸŽ‰ NEW Voice input πŸŽ™οΈ - @koganei
  • Developer-oriented features
  • Stop generation
  • 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 πŸš€

Tech Stack πŸ› οΈ

TypeScript React Next.js

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 issues GitHub pull requests GitHub stars GitHub forks GitHub license Twitter Follow

Made with πŸ’™