Code Monkey home page Code Monkey logo

nisabmohd / chatgpt Goto Github PK

View Code? Open in Web Editor NEW
284.0 284.0 116.0 1.57 MB

I've developed a ChatGPT clone using Next.js 14, Shadcn-UI, Prisma ORM, and integrated it with the OpenAI API. It offers a user-friendly conversational AI experience.

License: Apache License 2.0

JavaScript 0.30% TypeScript 96.92% CSS 2.77%
chatgpt chatgpt-api chatgpt-clone clone-app contributions-welcome next14 nextauth nextjs nextjs-14 nextjs13 nextjs14 open-source openai prisma react-typescript reactjs server-components shadcn-ui tailwindcss typescript

chatgpt's Introduction

Hi, I'm Nisab Mohd ๐Ÿ‘‹

I am a software engineer with a strong background in full-stack development and data structures. I am a passionate and highly skilled software engineer with a robust foundation in full-stack development and a deep understanding of data structures.

I also write blogs.

chatgpt's People

Contributors

nisabmohd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chatgpt's Issues

Aspect Ratio

Content only displays in the mid screen, instead of the whole screen on mobile phones 8

Can't connect to Mongo

Hi,
Created MongoDB schema and configured the MONGO_URL. However I'm getting the following error:

[nodemon] starting `node server.js`
Listeningserver on port :  8000
MongooseServerSelectionError: connection <monitor> to 127.0.0.1:3306 closed
    at NativeConnection.Connection.openUri (c:\dev\cteer-demo\frontend\node_modules\mongoose\lib\connection.js:825:32)
    at c:\dev\cteer-demo\frontend\node_modules\mongoose\lib\index.js:409:10
    at c:\dev\cteer-demo\frontend\node_modules\mongoose\lib\helpers\promiseOrCallback.js:41:5
    at new Promise (<anonymous>)
    at promiseOrCallback (c:\dev\cteer-demo\frontend\node_modules\mongoose\lib\helpers\promiseOrCallback.js:40:10)
    at Mongoose._promiseOrCallback (c:\dev\cteer-demo\frontend\node_modules\mongoose\lib\index.js:1262:10)
    at Mongoose.connect (c:\dev\cteer-demo\frontend\node_modules\mongoose\lib\index.js:408:20)
    at Object.<anonymous> (c:\dev\cteer-demo\frontend\server.js:10:4)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) {
  reason: TopologyDescription {
    type: 'Unknown',
    servers: Map(1) { '0.0.0.0:3306' => [ServerDescription] },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: null,
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined
}

Need to update some schema to MongoDB before running the server? Do you've any instructions or help with this error?

Thank you
Moshe

/cannot get

Hello sir I hope your fine I tried to run this code but I got a error /cannot get I hope you can help me thx

Chat not scrolling

The chat is not scrolling up automatically. It's constantly needed to manually scroll down to the latest messages.

Setup Issue

Getting an error with Login, dealing with the mongoDb.

update UI/features

I don't know if you will read this post..

  1. add a history system
  2. add live typing
  3. improve the UI to be the same as on GPT chat
  4. Add a login system with Google+Microsoft (if it's not too complicated for you)
  5. An email verification for registration.
    make sure everything is compatible via mobile

  1. Enter a selection of models as in GPT Plus. (gpt 3.5 turbo and gpt4 API)

image

button : https://sharetext.me/neq5eadsbh
ico gpt4: https://sharetext.me/0qi63aotv2


I suggest you also include the rules so that I can customize it myself to train it well. "https://platform.openai.com/docs/guides/chat"

Error

Error: Cannot find module '/home/projects/node-svljip/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node'
Require stack:

I have ran npm install and have tried to manually install it

Each child in a list should have a unique "key" prop.

Followed instructions properly, getting this error:

react-jsx-dev-runtime.development.js:87 Warning: Each child in a list should have a unique "key" prop.

Check the render method of Messages. See https://reactjs.org/link/warning-keys for more information.
at Message (http://localhost:5173/src/components/Message.tsx:18:3)
at Messages (http://localhost:5173/src/components/Messages.tsx:20:3)
at div
at div
at RenderedRoute (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ffbdf1ee:2767:5)
at Routes (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ffbdf1ee:3098:5)
at div
at App (http://localhost:5173/src/App.tsx:27:35)
at Router (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ffbdf1ee:3045:15)
at BrowserRouter (http://localhost:5173/node_modules/.vite/deps/react-router-dom.js?v=ffbdf1ee:3458:5)
printWarning @ react-jsx-dev-runtime.development.js:87
:8000/chatgpt/chat/38160bca288b87cef52cce:1 Failed to load resource: the server responded with a status of 400 (Bad Request)

Cant find the cause.

Install Guide

Hi

can you please add to README a detailed install process please .

regards

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.