Giter Site home page Giter Site logo

howardwkim / nextjs-chatgpt-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from enricoros/big-agi

0.0 0.0 0.0 4.3 MB

πŸ’¬ Responsive chat application powered by OpenAI's GPT-4, with response streaming, code highlighting, various presets for developers. Using Next.js, React, Joy.

Home Page: https://nextjs-chatgpt-app-enricoros.vercel.app

License: MIT License

JavaScript 0.29% TypeScript 88.64% CSS 11.07%

nextjs-chatgpt-app's Introduction

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

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

Or click fork & run on Vercel

Deploy with Vercel

Features ✨

🚨 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)

    Token Counters

  • NEW 04.17 πŸŽ‰ Language Selection Mic Language πŸŽ™οΈ, with auto-detect, and future app language! (@tbodyston)

    Token Counters

  • NEW 04.17 πŸŽ‰ Text To Speech πŸŽ™οΈ Settings for ElevenLabs, including Voice Selection and custom voices!

    Token Counters

    Token Counters

  • NEW 04.16 πŸŽ‰ Codepen/Replit for code execution πŸ’» (@harlanlewis)
  • NEW 04.14 πŸŽ‰ SVG Drawing πŸ–ŒοΈ

    Token Counters

  • 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]

    Token Counters

  • NEW 04.02 πŸŽ‰ Markdown rendering 🎨 (nilshulth) [WIP]
  • πŸŽ‰ NEW 04.01 Typing Avatars

    New Typing Avatars

  • πŸŽ‰ NEW 03.31 Publish & share chats to paste.gg πŸ“₯

    Export chats

  • Chat with GPT-4 and 3.5 Turbo πŸ§ πŸ’¨
  • Private: user-owned API keys πŸ”‘ and localStorage πŸ›‘οΈ
  • System presets - including Code, Science, Corporate, and Chat 🎭

    System presets

  • Syntax highlighting - for multiple languages 🌈
  • Context - Drag and drop files to add them to the prompt πŸ“

    Drag and drop

  • 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 πŸ™Œ

Roadmap πŸ›£οΈ

🚨 ** 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 ❗

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

Integrations 🀝

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

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

Made with πŸ’™

nextjs-chatgpt-app's People

Contributors

enricoros avatar harlanlewis avatar tboydston avatar nilshulth avatar fredliubojin avatar koganei avatar seven4x avatar dario-piotrowicz avatar typpo avatar jondwillis avatar shinkawk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.