qhkm / wabot

WhatsApp Automation Project - WebSocket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WhatsApp Automation using Baileys JavaScript

This project automates WhatsApp using Baileys JavaScript library. It enables you to interact with WhatsApp programmatically and perform various automated tasks.

Prerequisites

Before you start using the project, make sure you have the following prerequisites installed on your system:

  • Node.js
  • npm

You can install them using the following commands:

sudo apt update && apt upgrade -y
sudo apt install nodejs npm webp -y

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository:
git clone https://github.com/ahmadsysdev/wabot.git
cd wabot
  1. Install dependencies:
npm install
  1. Configure the project:
  • Inside the config directory, create a dev.json file with the following content:
[
  {
    "name": "John Smith",
    "jid": "6012xxxxxxx@s.whatsapp.net",
    "number": "6012xxxxxxx",
    "email": "yourmail@gmail.com",
    "type": "developer",
    "instagram": "https://instagram.com/{username}",
    "bio": "Hello world!",
    "self": "6012xxxxxxx@s.whatsapp.net"
  }
]
  • Create a config.json file inside the config directory with the following content:
[
  {
    "packInfo": {
      "packname": "Original",
      "author": "John Smith"
    },
    "selfname": "WhatsApp Automation Projects",
    "ignore": {
      "directory": [
        "public"
      ]
    },
    "limit": {
      "limitUser": 30,
      "limitPremium": 40,
      "limitProfessional": 70
    },
    "source": "https://example.com/path"
  }
]
  1. Start the project:
npm run start
  1. Scan the QR code in your WhatsApp app to authenticate and complete the setup.

Contributing

Contributions to this project are welcome. Fell free to open issues and pull requests for suggestions, enhancements, or bug fixes.

License

This project is licensed under the GNU General Public License (GPL).

About

WhatsApp Automation Project - WebSocket

License:GNU General Public License v3.0


Languages

Language:JavaScript 99.9%Language:Shell 0.1%