Skip to content

Harry260/wa-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whatsapp Chat GPT Bot

A chatbot for Whatsapp, powered by OpenAI's GPT-3 language model and the chatgpt-api and whatsapp-web.js libraries.

Requirements

  • Node.js 19 or above
  • OpenAI account

Installation

  1. Clone this repository.
  2. Install the dependencies with npm install.
  3. Add your email and password after creating .env file. See .env.example
  4. Start the bot with npm start.
  5. Optionally you can add discord webhook url in .env to get logs on discord

Usage

  1. Scan the QR code provided by the Whatsapp Web API.
  2. Send a message to the bot.
  3. The bot will respond with an answer generated by OpenAI's GPT-3 language model.

Made with

  1. chatgpt-api: https://github.com/transitive-bullshit/chatgpt-api
  2. whatsapp-web.js: https://github.com/pedroslopez/whatsapp-web.js/

Made with 💖 by Harry | Generated by ChatGPT!

About

A WhatsApp bot powered by ChatGPT Api!

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors