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! π
Or click fork & run on Vercel
π¨ We added cool new features to the app! (bare-bones was 466a36)
- NEW 04.18 π PWA install on mobile! π± looks like a native app (@harlanlewis)
- NEW 04.17 π Language Selection Mic Language ποΈ, with auto-detect, and future app language! (@tbodyston)
- NEW 04.17 π Text To Speech ποΈ Settings for ElevenLabs, including Voice Selection and custom voices!
- NEW 04.16 π Codepen/Replit for code execution π» (@harlanlewis)
- NEW 04.14 π SVG Drawing ποΈ
- NEW 04.13 π Token usage progress bars, CTRL+M to use the mic, edge runtime fixes for Cloudflare, awesome-agi.md
- NEW 04.11 π AI-titling π§ βοΈ
- NEW 04.10 π Multiple chats πππ
- NEW 04.09 π Microphone improvements ποΈ
- NEW 04.08 π Precise Token counter π extra-useful
- NEW 04.08 π Organization ID for OpenAI users
- NEW 04.07 π Pixel-perfect Markdown π¨
- NEW 04.04 π Download JSON to export/backup chats π₯
- NEW 04.03 π PDF import πππ§ (fredliubojin) <- "ask questions to a PDF!" π€―
- NEW 04.03 π Tokens utilization π [Initial - just new messages, not full chat]
- NEW 04.02 π Markdown rendering π¨ (nilshulth) [WIP]
- π NEW 04.01 Typing Avatars
- π NEW 03.31 Publish & share chats to paste.gg π₯
- Chat with GPT-4 and 3.5 Turbo π§ π¨
- Private: user-owned API keys π and localStorage π‘οΈ
- System presets - including Code, Science, Corporate, and Chat π
- Syntax highlighting - for multiple languages π
- Context - Drag and drop files to add them to the prompt π
- Stop generation π (fredliubojin)
- Voice input ποΈ (koganei)
- Real-time streaming of AI responses β‘
- Switch API hosts to track quality, including Helicone π
- Dark mode π - Wide mode βΆ
-
Code execution for TypeScript, JavaScript, and HTMLπ₯οΈ - Add your own feature π
- Send a PR π
π¨ ** April 2023 - Attention! We look for your input!** π¨
Roadmap | RFC π | Status | Description |
---|---|---|---|
Editable Purposes π | enricoros#35 | π¬ | In-app customization of 'Purposes', as many forks are created for that reason. |
Templates sharing π | enricoros#35 | π¬ | Community repository of Purposes/Systems - Vote with π and usage. Where to store? Bring your own key? Moderate? |
Reasoning Systems 𧩠| enricoros#36 | π€ | ReAct, DEPS, Reflexion - shall we? |
Your epic idea | π‘ | Create RFC β |
Because the official Chat is slower than the API, and the Playground UI doesn't even highlight code.
Integration | Description | Docs |
---|---|---|
Helicone | LLM Observability Platform | Settings Menu > Advanced > API Host: 'oai.hconeai.com' |
Paste.gg | Paste Sharing | Chat Menu > Share via paste.gg |
Tech Stack π οΈ
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
.
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.
Made with π