├── .eslintignore ├── .eslintrc ├── .github └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .prettierrc ├── .releaserc ├── .vscode └── settings.json ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── commitlint.config.cjs ├── example.env ├── jest.config.ts ├── nest-cli.json ├── package.json ├── src ├── app.module.ts ├── chat │ ├── chat.controller.spec.ts │ ├── chat.controller.ts │ ├── chat.dto.ts │ ├── chat.module.ts │ ├── chat.service.spec.ts │ └── chat.service.ts ├── completion │ ├── completion.controller.spec.ts │ ├── completion.controller.ts │ ├── completion.dto.ts │ ├── completion.module.ts │ ├── completion.service.spec.ts │ └── completion.service.ts ├── global │ ├── clients │ │ └── chatgpt.client.ts │ ├── global.module.ts │ └── middlewares │ │ └── request-logger.ts └── main.ts ├── test ├── app.e2e-spec.ts ├── jest-e2e.json └── tsconfig.json ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | local_tests 2 | node_modules 3 | dist -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/.prettierrc -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/.releaserc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/commitlint.config.cjs -------------------------------------------------------------------------------- /example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/example.env -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/jest.config.ts -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/package.json -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/chat/chat.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/chat/chat.controller.spec.ts -------------------------------------------------------------------------------- /src/chat/chat.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/chat/chat.controller.ts -------------------------------------------------------------------------------- /src/chat/chat.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/chat/chat.dto.ts -------------------------------------------------------------------------------- /src/chat/chat.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/chat/chat.module.ts -------------------------------------------------------------------------------- /src/chat/chat.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/chat/chat.service.spec.ts -------------------------------------------------------------------------------- /src/chat/chat.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/chat/chat.service.ts -------------------------------------------------------------------------------- /src/completion/completion.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/completion/completion.controller.spec.ts -------------------------------------------------------------------------------- /src/completion/completion.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/completion/completion.controller.ts -------------------------------------------------------------------------------- /src/completion/completion.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/completion/completion.dto.ts -------------------------------------------------------------------------------- /src/completion/completion.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/completion/completion.module.ts -------------------------------------------------------------------------------- /src/completion/completion.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/completion/completion.service.spec.ts -------------------------------------------------------------------------------- /src/completion/completion.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/completion/completion.service.ts -------------------------------------------------------------------------------- /src/global/clients/chatgpt.client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/global/clients/chatgpt.client.ts -------------------------------------------------------------------------------- /src/global/global.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/global/global.module.ts -------------------------------------------------------------------------------- /src/global/middlewares/request-logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/global/middlewares/request-logger.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/src/main.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rpidanny/chatgpt-browser-api-proxy/HEAD/yarn.lock --------------------------------------------------------------------------------