whatsapp-gpt icon indicating copy to clipboard operation
whatsapp-gpt copied to clipboard

noob question

Open Hababala opened this issue 2 years ago • 8 comments

hi there! thanks for creating this.

I am total noob. I used the fork created by zlenner and somehow managed to run the whole thing.

By that I mean I connected to my whatsapp and also ran the server.

However It just started sending messages I receive from my existing contacts to the openai and the openai started replying to them.

How do I create a specific openai contact which is the only one that would interact with the openai?

Also again total noob question, but I guess this will all die if I close my PC? How can I make it a permanent thing?

Hababala avatar Dec 02 '22 22:12 Hababala

I think there is no option to create, someone please correct me if I am wrong.

kbakdev avatar Dec 04 '22 17:12 kbakdev

Hi All, completly noob question and new to go , can this be run from android mobile pixel?

rajeshhazari avatar Dec 06 '22 18:12 rajeshhazari

@Hababala

How do I create a specific openai contact which is the only one that would interact with the openai? you can create a new account with a different email.

Also again total noob question, but I guess this will all die if I close my PC? How can I make it a permanent thing? you new to run it from a server then.

rebelmachina avatar Dec 07 '22 03:12 rebelmachina

hi there! thanks for creating this.

I am total noob. I used the fork created by zlenner and somehow managed to run the whole thing.

By that I mean I connected to my whatsapp and also ran the server.

However It just started sending messages I receive from my existing contacts to the openai and the openai started replying to them.

How do I create a specific openai contact which is the only one that would interact with the openai?

Also again total noob question, but I guess this will all die if I close my PC? How can I make it a permanent thing?

if someone can add headless mode you can run it on server without keep turn on your PC

ahmedRSA avatar Dec 07 '22 09:12 ahmedRSA

I'm not sure what you mean with this:

How do I create a specific openai contact which is the only one that would interact with the openai?

Do you want only one of your WhatsApp contacts to be able to interact with OpenAI? If that is the case, then add this:

if v.Info.Sender.User != "NUMBER" {
  return
}

You could add it after these lines and then rebuild it: https://github.com/danielgross/whatsapp-gpt/blob/d12693276e1e88d5d335276aa42bcfd849d56023/main.go#L39-L41

This instructs the program to ignore all the messages unless they come from this NUMBER.

totallynotdavid avatar Dec 08 '22 17:12 totallynotdavid

About running this with a headless browser, maybe we should wait for OpenAI to release an API because I don't know if there would be an easy way to bypass the captcha they have with a headless browser.

totallynotdavid avatar Dec 08 '22 17:12 totallynotdavid

@totallynotdavid could you help me please? I run both go run main.go and python server.py and I have my whatsapp connected and my browser opened. How do i proceed now? (I have 0 experience with Go)

lucasiezzi avatar Dec 08 '22 18:12 lucasiezzi

When someone send me a message my cellphone automatically responds: 404 page not found

lucasiezzi avatar Dec 08 '22 18:12 lucasiezzi