The server and api is using @xx025/browser-chatgptapi Thank so much.
git clone https://github.com/Monohitoxx/chatgpt-whatsapp.git
git clone https://github.com/xx025/browser-chatgptapi/tree/base0.1_one_to_one
Run terminal and run command as below table :
npm install ws
npm install whatsapp-web.js
npm install qrcode-terminal
pip install fastapi jinja2 uvicorn[standard]
Install Tampermonkey in your Google Chrome Or Edge. Import ChatGptPagesScripts.js to your Tampermonkey
Run your chrome and go to ChatGPT
Run terminal and run command as below :
node main.js
Scan your QR Code from terminal window