node index.js A QR code will appear in the terminal. : Tap three dots → Linked Devices → Link a Device → Scan the QR code.
npm install If you see sharp or puppeteer errors, install additional Termux packages: bot whatsapp termux github
nano config.js Run the bot:
pkg install chromium export CHROME_PATH=$PREFIX/bin/chromium WhatsApp temporarily blocks suspicious activity. Reduce command frequency and avoid group spamming. Advanced Customizations Add a Command Handler Edit index.js and add your own commands. Example: node index