Skip to content

ericlam918/chatgpt-whatsapp-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.5%
  • Shell 1.5%