Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 713 Bytes

File metadata and controls

17 lines (16 loc) · 713 Bytes

Chat-GPT-API

How to setup

  • Clone the repository.
  • Open command line in the current directory.
  • Type npm install and wait for npm to install dependencies.
  • Type npm start whenever you want to run the code.
  • Enjoy ChatGPT :)

How to use

  • index.js is the file you modify to interact with ChatGPT.
  • Login code should be run one time. Once "Cookies are ready" log seen on the console, it can be commented out for further use.
  • Type whatever you want to ask to ChatGPT into input variable.
  • Enjoy output through ChatGPT response.