├── .eslintrc.json ├── .github └── workflows │ └── codeql-analysis.yml ├── .gitignore ├── LICENSE ├── README.md ├── next-env.d.ts ├── next.config.js ├── package.json ├── public ├── favicon.ico ├── images │ └── profile.jpg └── vercel.svg ├── src ├── context │ └── common-state.tsx ├── index.d.ts ├── operations │ ├── common │ │ ├── cache-service.ts │ │ ├── config-ai.ts │ │ ├── constants.ts │ │ ├── file-operations │ │ │ └── index.ts │ │ └── navigation.ts │ ├── img-gen │ │ └── index.ts │ ├── list-engines-v1 │ │ └── index.ts │ └── ot-chat │ │ └── index.ts ├── pages │ ├── _app.tsx │ ├── api │ │ ├── chat.ts │ │ ├── list-engines.ts │ │ └── userinfo.ts │ ├── chat │ │ └── index.tsx │ ├── default.tsx │ ├── index.tsx │ ├── login │ │ └── index.tsx │ ├── nxt-chat.tsx │ └── test-page │ │ ├── page1.tsx │ │ └── page2.tsx ├── styles │ ├── Home.module.css │ ├── NextChat.module.css │ ├── globals.css │ ├── login.css │ └── utils.module.css └── utils │ ├── api-service.ts │ ├── cache-service.ts │ ├── common-functions.ts │ ├── constants.ts │ └── featureService.tsx ├── tsconfig.json ├── vercel.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/README.md -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/images/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/public/images/profile.jpg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/context/common-state.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/context/common-state.tsx -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/index.d.ts -------------------------------------------------------------------------------- /src/operations/common/cache-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/operations/common/cache-service.ts -------------------------------------------------------------------------------- /src/operations/common/config-ai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/operations/common/config-ai.ts -------------------------------------------------------------------------------- /src/operations/common/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/operations/common/constants.ts -------------------------------------------------------------------------------- /src/operations/common/file-operations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/operations/common/file-operations/index.ts -------------------------------------------------------------------------------- /src/operations/common/navigation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/operations/common/navigation.ts -------------------------------------------------------------------------------- /src/operations/img-gen/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/operations/img-gen/index.ts -------------------------------------------------------------------------------- /src/operations/list-engines-v1/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/operations/list-engines-v1/index.ts -------------------------------------------------------------------------------- /src/operations/ot-chat/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/operations/ot-chat/index.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/api/chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/api/chat.ts -------------------------------------------------------------------------------- /src/pages/api/list-engines.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/api/list-engines.ts -------------------------------------------------------------------------------- /src/pages/api/userinfo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/api/userinfo.ts -------------------------------------------------------------------------------- /src/pages/chat/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/chat/index.tsx -------------------------------------------------------------------------------- /src/pages/default.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/default.tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/login/index.tsx -------------------------------------------------------------------------------- /src/pages/nxt-chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/nxt-chat.tsx -------------------------------------------------------------------------------- /src/pages/test-page/page1.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/test-page/page1.tsx -------------------------------------------------------------------------------- /src/pages/test-page/page2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/pages/test-page/page2.tsx -------------------------------------------------------------------------------- /src/styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/styles/Home.module.css -------------------------------------------------------------------------------- /src/styles/NextChat.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/styles/NextChat.module.css -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/styles/login.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/styles/login.css -------------------------------------------------------------------------------- /src/styles/utils.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/styles/utils.module.css -------------------------------------------------------------------------------- /src/utils/api-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/utils/api-service.ts -------------------------------------------------------------------------------- /src/utils/cache-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/utils/cache-service.ts -------------------------------------------------------------------------------- /src/utils/common-functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/utils/common-functions.ts -------------------------------------------------------------------------------- /src/utils/constants.ts: -------------------------------------------------------------------------------- 1 | export const noOp = () => { 2 | return; 3 | }; 4 | -------------------------------------------------------------------------------- /src/utils/featureService.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/src/utils/featureService.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/vercel.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/manjushsh/next-openai/HEAD/yarn.lock --------------------------------------------------------------------------------