├── .gitignore ├── LICENSE ├── README.md ├── examples └── cli.js ├── package.json ├── src ├── classes │ ├── chatgpt.ts │ └── log.ts ├── enums │ ├── error-type.ts │ └── log-level.ts ├── index.ts ├── models │ ├── ask-response.ts │ ├── chatgpt.ts │ ├── conversation.ts │ ├── options.ts │ ├── result.ts │ └── session-response.ts └── utils │ ├── chatgpt.ts │ ├── getCurrentTime.ts │ ├── is-array.ts │ ├── is-object.ts │ ├── process-error.ts │ └── wait.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/README.md -------------------------------------------------------------------------------- /examples/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/examples/cli.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/package.json -------------------------------------------------------------------------------- /src/classes/chatgpt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/classes/chatgpt.ts -------------------------------------------------------------------------------- /src/classes/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/classes/log.ts -------------------------------------------------------------------------------- /src/enums/error-type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/enums/error-type.ts -------------------------------------------------------------------------------- /src/enums/log-level.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/enums/log-level.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/models/ask-response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/models/ask-response.ts -------------------------------------------------------------------------------- /src/models/chatgpt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/models/chatgpt.ts -------------------------------------------------------------------------------- /src/models/conversation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/models/conversation.ts -------------------------------------------------------------------------------- /src/models/options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/models/options.ts -------------------------------------------------------------------------------- /src/models/result.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/models/result.ts -------------------------------------------------------------------------------- /src/models/session-response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/models/session-response.ts -------------------------------------------------------------------------------- /src/utils/chatgpt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/utils/chatgpt.ts -------------------------------------------------------------------------------- /src/utils/getCurrentTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/utils/getCurrentTime.ts -------------------------------------------------------------------------------- /src/utils/is-array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/utils/is-array.ts -------------------------------------------------------------------------------- /src/utils/is-object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/utils/is-object.ts -------------------------------------------------------------------------------- /src/utils/process-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/utils/process-error.ts -------------------------------------------------------------------------------- /src/utils/wait.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/src/utils/wait.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PawanOsman/chatgpt-io/HEAD/tsconfig.json --------------------------------------------------------------------------------