public
Whatsapp bunk messages using Whatsapp crap apis.gitignore
Whatsapp bunk messages using Whatsapp crap apismain.js
Whatsapp bunk messages using Whatsapp crap apispackage-lock.json
Whatsapp bunk messages using Whatsapp crap apispackage.json
Whatsapp bunk messages using Whatsapp crap apisREADME.md
Whatsapp bunk messages using Whatsapp crap apisserver.js
Whatsapp bunk messages using Whatsapp crap apisWhatsApp Bulk Message Sender π±
A powerful Node.js application for sending bulk WhatsApp messages using the Baileys library.
π Features
- β Send single message to multiple contacts
- β NEW! Send multiple messages to multiple contacts
- β Send individual messages to single contacts
- β Load contacts from a text file
- β Load multiple messages from a text file
- β Automatic delay between messages to avoid blocking
- β Compact QR code authentication
- β Progress tracking and error handling
- β Detailed summary reports
π Prerequisites
- Node.js (v14 or higher)
- A WhatsApp account
- Active internet connection
π Installation
- Clone or navigate to this directory
- Install dependencies:
npm installπ Setup
1. Prepare Your Contacts File
Create a contacts.txt file in the project root with the following format:
9876543210, John Doe
9876543211, Jane Smith
9876543212, Bob JohnsonFormat: phone_number, name
- Phone numbers can be with or without country code
- If no country code is provided, +91 (India) is assumed by default
- Names are optional but recommended for tracking
2. Run the Application
node main.js3. Authenticate
- When you run the app, a QR code will appear in the terminal
- Open WhatsApp on your phone
- Go to Settings β Linked Devices β Link a Device
- Scan the QR code displayed in the terminal
- Wait for "β WhatsApp connected successfully!" message
π± Usage
Option 1: Single Message to Multiple Contacts
- Run the application:
node main.js - Choose option
1for single message bulk messaging - Enter the path to your contacts file (or press Enter for default
contacts.txt) - Type your message (press Enter twice when done)
- Confirm to send
- Wait for the messages to be sent
Option 2: Multiple Messages to Multiple Contacts
NEW! Send multiple different messages to all contacts in sequence.
- Create a
messages.txtfile with your messages separated by---:
Hey! This is the first message. Hope you're having a great day! π
---
This is message number 2. Just wanted to check in with you!
---
Final message here! Thanks for being awesome! π- Run the application:
node main.js - Choose option
2for multiple messages - Enter the path to your contacts file (default:
contacts.txt) - Enter the path to your messages file (default:
messages.txt) - Review the messages that will be sent
- Confirm to send
- All messages will be sent to all contacts in sequence
Example: If you have 3 contacts and 3 messages, each contact will receive all 3 messages (9 total messages sent).
Option 3: Single Message to Single Number
- Run the application:
node main.js - Choose option
3for single message - Enter the phone number
- Enter your message
- Message will be sent immediately
βοΈ Configuration
You can modify the settings in main.js:
const CONFIG = {
DELAY_BETWEEN_MESSAGES: 3000, // Delay in milliseconds (3 seconds)
MAX_RETRIES: 3, // Maximum retry attempts
};Recommended Delays
- Small batches (< 10 messages): 3-5 seconds
- Medium batches (10-50 messages): 5-10 seconds
- Large batches (> 50 messages): 10-15 seconds
β οΈ Warning: Sending too many messages too quickly may result in your number being temporarily banned by WhatsApp!
π Example Output
π Initializing WhatsApp Bulk Message Sender...
π± Scan the QR code below with your WhatsApp:
[QR Code displayed here]
β
WhatsApp connected successfully!
π WhatsApp Bulk Message Sender
==================================================
Options:
1. Send bulk messages from contacts file
2. Send message to a single number
Choose an option (1 or 2): 1
Enter contacts file path (default: contacts.txt):
π Loaded 3 contacts from contacts.txt
π¬ Enter your message (press Enter twice to finish):
Hello! This is a test message.
Thanks!
π Message to send:
--------------------------------------------------
Hello! This is a test message.
Thanks!
--------------------------------------------------
Confirm sending? (yes/no): yes
π€ Starting to send messages to 3 contacts...
[1/3] Sending to John Doe (9876543210)...
β
Sent successfully to John Doe
β³ Waiting 3s before next message...
[2/3] Sending to Jane Smith (9876543211)...
β
Sent successfully to Jane Smith
β³ Waiting 3s before next message...
[3/3] Sending to Bob Johnson (9876543212)...
β
Sent successfully to Bob Johnson
==================================================
π BULK MESSAGE SUMMARY
==================================================
β
Successful: 3
β Failed: 0
π Total: 3
==================================================
β¨ Done! Press Ctrl+C to exit.π Security & Privacy
- Authentication data is stored locally in
auth_info_baileys/folder - Keep this folder secure and never share it
- The application doesn't send any data to third parties
- All messages are sent directly through WhatsApp's servers
β οΈ Important Notes
- Rate Limiting: WhatsApp may temporarily ban your number if you send too many messages too quickly
- Legal Use: Only use this tool to send messages to people who have consented to receive them
- Terms of Service: Make sure your use complies with WhatsApp's Terms of Service
- Spam: Do not use this tool for spamming or sending unsolicited messages
π Troubleshooting
QR Code Not Appearing
- Make sure your terminal supports Unicode/ASCII art
- Try using a different terminal emulator
- Check your internet connection
Connection Issues
- Ensure you have a stable internet connection
- Try restarting the application
- Delete the
auth_info_baileysfolder and re-authenticate
Messages Not Sending
- Verify the phone numbers are in the correct format
- Check if the recipient has blocked you
- Ensure your WhatsApp account is not temporarily banned
π License
ISC
π€ Author
Suresh
π€ Contributing
Feel free to submit issues and enhancement requests!
Disclaimer: This tool is for educational and legitimate business purposes only. The author is not responsible for any misuse of this application.