├── .env.example
├── .eslintrc.json
├── .gitignore
├── README.md
├── components.json
├── next.config.mjs
├── package.json
├── pnpm-lock.yaml
├── postcss.config.js
├── public
├── next.svg
└── vercel.svg
├── src
├── app
│ ├── api
│ │ ├── auth
│ │ │ └── [...nextauth]
│ │ │ │ └── route.ts
│ │ └── route.ts
│ ├── auth
│ │ ├── error
│ │ │ └── page.tsx
│ │ └── signin
│ │ │ └── page.tsx
│ ├── favicon.ico
│ ├── globals.css
│ ├── layout.tsx
│ ├── page.tsx
│ └── playground
│ │ └── page.tsx
├── components
│ ├── Avatar
│ │ ├── Avatar.tsx
│ │ ├── BotAvatar.tsx
│ │ ├── UserAvatar.tsx
│ │ └── index.ts
│ ├── Buttons
│ │ ├── GithubButton.tsx
│ │ ├── LoginButton.tsx
│ │ └── LogoutButton.tsx
│ ├── Chat
│ │ ├── Chat.tsx
│ │ ├── ChatInput.tsx
│ │ └── index.ts
│ ├── Message
│ │ ├── Message.tsx
│ │ ├── MessageBalloon.tsx
│ │ └── index.ts
│ ├── Root
│ │ └── index.tsx
│ ├── provider.tsx
│ └── ui
│ │ ├── button.tsx
│ │ ├── input.tsx
│ │ ├── label.tsx
│ │ ├── separator.tsx
│ │ └── textarea.tsx
├── lib
│ ├── openai.ts
│ ├── store.ts
│ └── utils.ts
└── middleware.ts
├── tailwind.config.ts
├── tsconfig.json
└── yarn.lock
/.env.example:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/.env.example
--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "next/core-web-vitals"
3 | }
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/.gitignore
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/README.md
--------------------------------------------------------------------------------
/components.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/components.json
--------------------------------------------------------------------------------
/next.config.mjs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/next.config.mjs
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/package.json
--------------------------------------------------------------------------------
/pnpm-lock.yaml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/pnpm-lock.yaml
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/postcss.config.js
--------------------------------------------------------------------------------
/public/next.svg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/public/next.svg
--------------------------------------------------------------------------------
/public/vercel.svg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/public/vercel.svg
--------------------------------------------------------------------------------
/src/app/api/auth/[...nextauth]/route.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/app/api/auth/[...nextauth]/route.ts
--------------------------------------------------------------------------------
/src/app/api/route.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/app/api/route.ts
--------------------------------------------------------------------------------
/src/app/auth/error/page.tsx:
--------------------------------------------------------------------------------
1 | export default function Error() {
2 | return
Failed to Sign In
;
3 | }
4 |
--------------------------------------------------------------------------------
/src/app/auth/signin/page.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/app/auth/signin/page.tsx
--------------------------------------------------------------------------------
/src/app/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/app/favicon.ico
--------------------------------------------------------------------------------
/src/app/globals.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/app/globals.css
--------------------------------------------------------------------------------
/src/app/layout.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/app/layout.tsx
--------------------------------------------------------------------------------
/src/app/page.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/app/page.tsx
--------------------------------------------------------------------------------
/src/app/playground/page.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/app/playground/page.tsx
--------------------------------------------------------------------------------
/src/components/Avatar/Avatar.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Avatar/Avatar.tsx
--------------------------------------------------------------------------------
/src/components/Avatar/BotAvatar.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Avatar/BotAvatar.tsx
--------------------------------------------------------------------------------
/src/components/Avatar/UserAvatar.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Avatar/UserAvatar.tsx
--------------------------------------------------------------------------------
/src/components/Avatar/index.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Avatar/index.ts
--------------------------------------------------------------------------------
/src/components/Buttons/GithubButton.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Buttons/GithubButton.tsx
--------------------------------------------------------------------------------
/src/components/Buttons/LoginButton.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Buttons/LoginButton.tsx
--------------------------------------------------------------------------------
/src/components/Buttons/LogoutButton.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Buttons/LogoutButton.tsx
--------------------------------------------------------------------------------
/src/components/Chat/Chat.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Chat/Chat.tsx
--------------------------------------------------------------------------------
/src/components/Chat/ChatInput.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Chat/ChatInput.tsx
--------------------------------------------------------------------------------
/src/components/Chat/index.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Chat/index.ts
--------------------------------------------------------------------------------
/src/components/Message/Message.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Message/Message.tsx
--------------------------------------------------------------------------------
/src/components/Message/MessageBalloon.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Message/MessageBalloon.tsx
--------------------------------------------------------------------------------
/src/components/Message/index.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Message/index.ts
--------------------------------------------------------------------------------
/src/components/Root/index.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/Root/index.tsx
--------------------------------------------------------------------------------
/src/components/provider.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/provider.tsx
--------------------------------------------------------------------------------
/src/components/ui/button.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/ui/button.tsx
--------------------------------------------------------------------------------
/src/components/ui/input.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/ui/input.tsx
--------------------------------------------------------------------------------
/src/components/ui/label.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/ui/label.tsx
--------------------------------------------------------------------------------
/src/components/ui/separator.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/ui/separator.tsx
--------------------------------------------------------------------------------
/src/components/ui/textarea.tsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/components/ui/textarea.tsx
--------------------------------------------------------------------------------
/src/lib/openai.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/lib/openai.ts
--------------------------------------------------------------------------------
/src/lib/store.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/lib/store.ts
--------------------------------------------------------------------------------
/src/lib/utils.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/lib/utils.ts
--------------------------------------------------------------------------------
/src/middleware.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/src/middleware.ts
--------------------------------------------------------------------------------
/tailwind.config.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/tailwind.config.ts
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/tsconfig.json
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Stellar-1117/next.js-chatgpt/HEAD/yarn.lock
--------------------------------------------------------------------------------