reactmore / whatsapp-api-nodejs

A simple NodeJS Wrapper for Baileys.

Home Page:https://whatsap-i.herokuapp.com/api-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

whatsapp-api-nodejs ⚡

A simple NodeJS Wrapper for Baileys.

Why use this?FAQsLegalContributing

  • 🌠 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 run this thing?

    • Download Node.js v14.0x or greater
    • Clone repo and install packages npm install
  • 🤯 NPM scripts

    • Run server without webhook. npm run start
    • Run server with webhook. npm run start:webhook
    • Run server with webhook + receive full size data in response. npm run start:fullsize
  • 😕 How do I setup environment variables?

    1. Create a new file name it .env
    2. Copy/Paste your secrets in .env file - .env Example
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?

  • 📥 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.
  • The official WhatsApp website can be found at https://whatsapp.com. "WhatsApp" as well as related names, marks, emblems and images are registered trademarks of their respective owners.
  • This is an independent and unofficial software Use at your own risk.
  • Do not spam people with this.
  • Contributing is simple as cloning, making changes and submitting a pull request.
  • If you would like to contribute, here are a few starters:
  • Bug Hunts.
  • More sorts of examples.
  • Make code clean.
  • Additional features/ More integrations.
  • TS support.

Thanks to Manjit for instance class.

About

A simple NodeJS Wrapper for Baileys.

https://whatsap-i.herokuapp.com/api-docs/

License:MIT License


Languages

Language:JavaScript 97.3%Language:EJS 2.1%Language:Dockerfile 0.5%Language:Shell 0.2%