/whatsapp-bot

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app

Primary LanguageHTML

A library for working with Whatsapp: text Useful video: https://www.youtube.com/watch?v=Lu16rqbLuKQ

Run it on a background service with PM2

pm2 start main.js

Issue with running on Ubuntu

  1. Make it similiar to:
const client = new Client({
    puppeteer: {
        headless: true,
        args: ["--no-sandbox"]
    },
    authStrategy: new LocalAuth({
        clientId: "YOUR_CLIENT_ID"
    })
});