Skip to content

cross19xx/gpwhatsapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpwhatsapp

Using whatsapp-web-js and ChatGPT

To use, ensure that you have an API key from OpenAI

Replace "CHAT_API_KEY" in below line inside ./src/chat.ts

const API_KEY = 'CHAT_API_KEY'

To initialize;

git clone git@github.com:cross19xx/gpwhatsapp.git

cd gpwhatsapp

npm install

npm start

Scan generated QR with whatsapp app on mobile at the "Link a Device" page under settings to perform the sync.

Client is ready!

Begin all messages to the client with "hi arya" to trigger AI responses.

About

Using whatsapp-web-js and ChatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published