├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── LICENSE ├── README-zh_CN.md ├── README.md ├── globals.d.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── author.jpg ├── favicon.ico ├── logo.svg ├── logo_with_bg.svg └── particles.json ├── src ├── assets │ └── images │ │ └── logo.svg ├── components │ ├── Avatar │ │ └── index.tsx │ ├── BasicInfo │ │ └── index.tsx │ ├── Billing │ │ └── index.tsx │ ├── Button │ │ └── index.tsx │ ├── ChatContent │ │ └── index.tsx │ ├── ClientOnly │ │ └── index.tsx │ ├── Footer │ │ └── index.tsx │ ├── Header │ │ └── index.tsx │ ├── Image │ │ └── index.tsx │ ├── Message │ │ └── index.tsx │ ├── Scrollbar │ │ └── index.tsx │ ├── Setting │ │ └── index.tsx │ ├── Sidebar │ │ ├── Footer.tsx │ │ ├── History.tsx │ │ └── index.tsx │ ├── Text │ │ └── index.tsx │ └── UserAvatar │ │ └── index.tsx ├── constants.ts ├── hooks │ ├── useChatProgress.ts │ ├── useCountDown.ts │ ├── useIsMobile.ts │ ├── useScroll.ts │ └── useTheme.ts ├── middleware.ts ├── pages │ ├── 404.tsx │ ├── _app.tsx │ ├── _document.tsx │ ├── _error.tsx │ ├── api │ │ ├── [...all].ts │ │ ├── chat-progress.ts │ │ ├── hello.ts │ │ ├── logout.ts │ │ └── notice.ts │ ├── chat │ │ └── [id].tsx │ ├── index.tsx │ └── login │ │ └── index.tsx ├── service │ ├── chatgpt.ts │ ├── http.ts │ ├── localStorage.ts │ ├── logger.ts │ └── server.ts ├── store │ ├── App.tsx │ ├── Chat.tsx │ └── User.tsx ├── styles │ ├── github-markdown.scss │ ├── globals.css │ ├── highlight.scss │ └── text.scss └── utils │ ├── copyToClipboard.ts │ ├── downloadAsImage.ts │ └── requestAuth.ts ├── tailwind.config.js └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["next/core-web-vitals", "prettier"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/LICENSE -------------------------------------------------------------------------------- /README-zh_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/README-zh_CN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/README.md -------------------------------------------------------------------------------- /globals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/globals.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/author.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/public/author.jpg -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/public/logo.svg -------------------------------------------------------------------------------- /public/logo_with_bg.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/public/logo_with_bg.svg -------------------------------------------------------------------------------- /public/particles.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/public/particles.json -------------------------------------------------------------------------------- /src/assets/images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/assets/images/logo.svg -------------------------------------------------------------------------------- /src/components/Avatar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Avatar/index.tsx -------------------------------------------------------------------------------- /src/components/BasicInfo/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/BasicInfo/index.tsx -------------------------------------------------------------------------------- /src/components/Billing/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Billing/index.tsx -------------------------------------------------------------------------------- /src/components/Button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Button/index.tsx -------------------------------------------------------------------------------- /src/components/ChatContent/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/ChatContent/index.tsx -------------------------------------------------------------------------------- /src/components/ClientOnly/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/ClientOnly/index.tsx -------------------------------------------------------------------------------- /src/components/Footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Footer/index.tsx -------------------------------------------------------------------------------- /src/components/Header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Header/index.tsx -------------------------------------------------------------------------------- /src/components/Image/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Image/index.tsx -------------------------------------------------------------------------------- /src/components/Message/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Message/index.tsx -------------------------------------------------------------------------------- /src/components/Scrollbar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Scrollbar/index.tsx -------------------------------------------------------------------------------- /src/components/Setting/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Setting/index.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Sidebar/Footer.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/History.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Sidebar/History.tsx -------------------------------------------------------------------------------- /src/components/Sidebar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Sidebar/index.tsx -------------------------------------------------------------------------------- /src/components/Text/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/Text/index.tsx -------------------------------------------------------------------------------- /src/components/UserAvatar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/components/UserAvatar/index.tsx -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/hooks/useChatProgress.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/hooks/useChatProgress.ts -------------------------------------------------------------------------------- /src/hooks/useCountDown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/hooks/useCountDown.ts -------------------------------------------------------------------------------- /src/hooks/useIsMobile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/hooks/useIsMobile.ts -------------------------------------------------------------------------------- /src/hooks/useScroll.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/hooks/useScroll.ts -------------------------------------------------------------------------------- /src/hooks/useTheme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/hooks/useTheme.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/pages/404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/404.tsx -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/_error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/_error.tsx -------------------------------------------------------------------------------- /src/pages/api/[...all].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/api/[...all].ts -------------------------------------------------------------------------------- /src/pages/api/chat-progress.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/api/chat-progress.ts -------------------------------------------------------------------------------- /src/pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/api/hello.ts -------------------------------------------------------------------------------- /src/pages/api/logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/api/logout.ts -------------------------------------------------------------------------------- /src/pages/api/notice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/api/notice.ts -------------------------------------------------------------------------------- /src/pages/chat/[id].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/chat/[id].tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/pages/login/index.tsx -------------------------------------------------------------------------------- /src/service/chatgpt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/service/chatgpt.ts -------------------------------------------------------------------------------- /src/service/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/service/http.ts -------------------------------------------------------------------------------- /src/service/localStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/service/localStorage.ts -------------------------------------------------------------------------------- /src/service/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/service/logger.ts -------------------------------------------------------------------------------- /src/service/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/service/server.ts -------------------------------------------------------------------------------- /src/store/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/store/App.tsx -------------------------------------------------------------------------------- /src/store/Chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/store/Chat.tsx -------------------------------------------------------------------------------- /src/store/User.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/store/User.tsx -------------------------------------------------------------------------------- /src/styles/github-markdown.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/styles/github-markdown.scss -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/styles/highlight.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/styles/highlight.scss -------------------------------------------------------------------------------- /src/styles/text.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/styles/text.scss -------------------------------------------------------------------------------- /src/utils/copyToClipboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/utils/copyToClipboard.ts -------------------------------------------------------------------------------- /src/utils/downloadAsImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/utils/downloadAsImage.ts -------------------------------------------------------------------------------- /src/utils/requestAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/src/utils/requestAuth.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/helianthuswhite/chatgpt-web-next/HEAD/tsconfig.json --------------------------------------------------------------------------------