A simple NodeJS Wrapper for Baileys.
• Why use this? • FAQ • Legal
- 🌠 Fast : This project uses Baileys which does not require Selenium or any other browser to be interface with WhatsApp Web, it does so directly using a WebSocket. Not running Selenium or Chromimum saves you like half a gig of ram :/
- 🔑 Safe : Does not mess with user’s data
- 😕 How do I setup environment variables?
- Goto Pusher.com
- Register free account.
- Click on Channels and create a new App.
- Click on app you just created and goto App Keys.
- Create new key and copy all secrets from there.
- Now create a new file name it .env
- Paste all secret like - .env Example
- Goto Pusher.com
- PUSHER_APPID=1872871
- PUSHER_KEY=b0d238673728b1b4f86fc
- PUSHER_SECRET=7c9ec3232e69a1d9d
- PUSHER_CLUSTER=ap2
- WEBHOOK_URL=https://webhook.site/123
- WEBHOOK_KEY=
-
❓ Where do i get WEBHOOK_URL from? You can easily get a webhook for testing purpose from webhook.site.
-
🛠️ Is this app built with NodeJS? Yes, it's built with NodeJS.
-
📦 What npm modules did you use? express for API Server baileys for connecting to whatsapp web.
-
📥 How do I contact you? If you find an issue, report it. Have questions? drop me a msg on telegram at @salman0ansari
- This code is in no way affiliated, authorized, maintained, sponsored or endorsed by WA(WhatsApp) or any of its affiliates or subsidiaries.
- Use at your own risk.
- Do not spam people with this.