Open Jcasttrop opened 1 year ago
i have done it but not accepted the request to merge yet
can you share here?
Sure one sec,
Chat with GPT from whatsapp or make it autoreply for your specific contacts
git clone https://github.com/danielgross/whatsapp-gpt.git
Once you have clone cd whatsapp-gpt
and now we have to make sure there is GO and Python.
Install Go you can find the guide below
Next Python Requirements
pip install flask
Next Playwright
pip install playwright
After installation of playwright
playwright install
Now you are good to go 😋
Run the main.go first
go run main.go
Run server now
python3 server.py
note: Make sure to scan the QR code that is created or else the whole things is joke 🤡
note: always check for the latest versions, the version numbers shown here will fall out of date quickly.
Step 1. Grab yourself a binary release from here: https://golang.org/dl/
You'll want to use one from the Stable versions
, you probably want one which is in bold, for Ubuntu it's xxx-linux-amd64.tar.gz
wget https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz;
Step 2. Install
sudo tar -C /usr/local -xzf go1.4.linux-amd64.tar.gz;
Step 3. Decide where your packages will live
unless your name is also peter you might want to change that bit!
mkdir /home/peter/.go;
Step 4. Configure Environment
On Ubuntu you can edit ~/.bashrc
to set your PATH, at the bottom add:
change the path below to match the one you created in step 3!
# The go binary, so we can actually run it
export PATH=$PATH:/usr/local/go/bin;
# This is where all your go packages live
GOPATH=/home/peter/.go;
export GOPATH;
# Add GOPATH/bin so compiled go libs appear on your PATH
export PATH=$PATH:$GOPATH/bin;
Step 5. Run that script
Every new terminal will run the above scripts when it starts; to apply it to the current terminal window we just:
source ~/.bashrc
Step 6. Test
$ go version
go version go1.4 linux/amd64
Full install instructions can be found here: https://golang.org/doc/install
i have done it but not accepted the request to merge yet
can you share here?
Btw i liked the base code so i made a copy and made a separate repo to maintain and add few more stuffs into it like hotword, custom action and so on
i have done it but not accepted the request to merge yet