-
Install NodeJS, nano and Git Bash.
sudo apt -y remove nodejs curl -fsSl https://deb.nodesource.com/setup_lts.x | sudo bash - && sudo apt -y install nodejs apt install git nano -y
-
Clone the repository:
git clone https://github.com/yesbhautik/Whatsapp-Ai-BOT
-
Go to the project directory:
cd Whatsapp-Ai-BOT
-
Clean NPM Cache:
npm cache clean --force
-
Install dependencies:
npm i
-
Configure OpenAI API
cp example.key.json key.json nano key.json
Replace "OPENAI_API_KEY" with your actual OpenAI API key.
-
Run the project:
npm start