Oriorz / chatgpt-whatsapp-bot

ChatGPT and Whatsapp bot, based on Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT and Whatsapp bot, based on Node.js

screenshot

How to deploy

Locally

  1. Create a .env file,

  2. Add ChatGPT token to CHATGPT_TOKEN (How to get ChatGPT token)

  3. Read this on how to properly run the code with whatsapp qr (How to Run Whatsapp Bot)

  4. Install google-chrome-stable

  5. Execute the command

# install dependencies
npm i 
# Start the bot service
npm i -g pm2 && pm2 start index.js && pm2 save && pm2 logs
# Then scan the QrCode and Enjoy!

Using Github Actions

  1. Fork this repo.
  2. Go to Github Action.
  3. Click I understand my workflow.
  4. Read this gist to see how to run.

License

MIT © Amos Ayomide (amosayomide05)


visits

About

ChatGPT and Whatsapp bot, based on Node.js

License:MIT License


Languages

Language:JavaScript 98.5%Language:Shell 1.5%