@teamqadeer1/baileys 1.0.0 β 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -3
- package/README.md +66 -113
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2026
|
|
3
|
+
Copyright (c) 2026 Qadeer Khan (Team Qadeer)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -19,5 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
|
-
|
|
23
|
-
,
|
package/README.md
CHANGED
|
@@ -1,135 +1,88 @@
|
|
|
1
|
-
|
|
1
|
+
# π QADEER AI MINI - WhatsApp Automation Library
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
</p><p align="center">
|
|
6
|
-
<strong>A Flexible WhatsApp Automation Library for Node.js</strong>
|
|
7
|
-
<br />
|
|
8
|
-
Built for developers. Designed for flexibility. Powered by Team Qadeer.
|
|
9
|
-
</p><p align="center">
|
|
10
|
-
<img src="https://img.shields.io/badge/PROJECT-TEAM%20QADEER-16A34A?style=for-the-badge" alt="Team Qadeer" />
|
|
11
|
-
<img src="https://img.shields.io/badge/PLATFORM-WHATSAPP-25D366?style=for-the-badge&logo=whatsapp&logoColor=white" alt="WhatsApp" />
|
|
12
|
-
<img src="https://img.shields.io/badge/RUNTIME-NODE.JS-339933?style=for-the-badge&logo=nodedotjs&logoColor=white" alt="Node.js" />
|
|
13
|
-
</p>---
|
|
3
|
+
> **An Ultimate, Flexible, and High-Performance WhatsApp API Library for Node.js**
|
|
4
|
+
> *Built exclusively for developers. Designed for power. Powered by Team Qadeer.*
|
|
14
5
|
|
|
15
|
-
|
|
6
|
+
---
|
|
16
7
|
|
|
17
|
-
|
|
8
|
+
## π Introduction
|
|
18
9
|
|
|
19
|
-
|
|
10
|
+
Welcome to **Qadeer AI Mini Baileys**, a premium Node.js library engineered for developers who want to build next-generation WhatsApp-connected applications, automation tools, and advanced chatbots.
|
|
20
11
|
|
|
21
|
-
Whether you
|
|
12
|
+
We took the best concepts of WhatsApp automation and refined them into a flexible, developer-friendly foundation. Whether you are building a personal AI assistant, an enterprise-level automated messaging system, or a custom communication app, **Team Qadeer** provides the ultimate toolkit for your workflow.
|
|
22
13
|
|
|
23
|
-
|
|
14
|
+
---
|
|
24
15
|
|
|
25
|
-
|
|
26
|
-
- π Session Management β Organize authentication credentials and session data.
|
|
27
|
-
- π¬ Messaging Capabilities β Build messaging workflows using the APIs supported by the library.
|
|
28
|
-
- π± Multi-Device Support β Designed for WhatsApp multi-device environments, subject to compatibility.
|
|
29
|
-
- βοΈ Easy Integration β Integrate the package into Node.js applications.
|
|
30
|
-
- π€ Bot Development β Build command-based bots, automated replies, and custom workflows.
|
|
31
|
-
- π§© Customizable Architecture β Adapt your implementation to your project's requirements.
|
|
32
|
-
- π‘οΈ Security Awareness β Follow best practices for authentication, privacy, and session protection.
|
|
16
|
+
## β¨ Key Features
|
|
33
17
|
|
|
34
|
-
|
|
18
|
+
* **π Seamless Pairing:** Advanced and highly flexible pairing methods tailored to your bot's needs.
|
|
19
|
+
* **π Smart Session Management:** Secure, fast, and robust authentication and session handling.
|
|
20
|
+
* **π¬ Rich Messaging Capabilities:** Full support for text, media, buttons, and interactive native flow messages.
|
|
21
|
+
* **π± Multi-Device Ready:** Perfectly optimized for WhatsApp's latest multi-device architecture.
|
|
22
|
+
* **βοΈ Plug & Play Integration:** Incredibly easy to integrate into any existing Node.js project.
|
|
23
|
+
* **π‘οΈ Stealth & Security:** Built-in safeguards to protect authentication credentials and ensure smooth running.
|
|
35
24
|
|
|
36
|
-
|
|
25
|
+
---
|
|
37
26
|
|
|
38
|
-
|
|
27
|
+
## π¦ Installation
|
|
39
28
|
|
|
40
|
-
|
|
29
|
+
You can install the official package directly from NPM. Run one of the following commands in your terminal:
|
|
41
30
|
|
|
42
|
-
|
|
31
|
+
**Using NPM:**
|
|
32
|
+
```bash
|
|
33
|
+
npm install @teamqadeer1/baileys
|
|
43
34
|
|
|
44
|
-
|
|
35
|
+
Using Yarn:
|
|
36
|
+
yarn add @teamqadeer1/baileys
|
|
45
37
|
|
|
46
|
-
|
|
38
|
+
π Getting Started
|
|
39
|
+
Before using the library, ensure you are running Node.js (v20.0.0 or higher).
|
|
40
|
+
Basic Connection Example
|
|
41
|
+
Here is a quick example of how to import and initialize the library in your project:
|
|
42
|
+
const { makeWASocket, useMultiFileAuthState } = require('@teamqadeer1/baileys');
|
|
47
43
|
|
|
48
|
-
|
|
44
|
+
async function connectToWhatsApp() {
|
|
45
|
+
const { state, saveCreds } = await useMultiFileAuthState('qadeer_session');
|
|
49
46
|
|
|
50
|
-
|
|
47
|
+
const sock = makeWASocket({
|
|
48
|
+
auth: state,
|
|
49
|
+
printQRInTerminal: true,
|
|
50
|
+
browser: ['Ubuntu', 'Chrome', '20.0.04'],
|
|
51
|
+
});
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
sock.ev.on('connection.update', (update) => {
|
|
54
|
+
const { connection } = update;
|
|
55
|
+
if (connection === 'open') {
|
|
56
|
+
console.log('β
Qadeer AI Mini is successfully connected to WhatsApp!');
|
|
57
|
+
}
|
|
58
|
+
});
|
|
53
59
|
|
|
54
|
-
|
|
60
|
+
sock.ev.on('creds.update', saveCreds);
|
|
61
|
+
}
|
|
55
62
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
node --version
|
|
59
|
-
npm --version
|
|
60
|
-
|
|
61
|
-
Install the package and refer to its exported APIs and included examples to configure your WhatsApp connection.
|
|
62
|
-
|
|
63
|
-
Basic Import Example
|
|
64
|
-
|
|
65
|
-
// CommonJS import example.
|
|
66
|
-
// The exported API depends on your package implementation.
|
|
67
|
-
|
|
68
|
-
const baileys = require('teamqadeer-baileys');
|
|
69
|
-
|
|
70
|
-
console.log('Team Qadeer Baileys loaded.');
|
|
71
|
-
|
|
72
|
-
This example demonstrates package importing only. Connection initialization, pairing, authentication, and messaging must use the actual APIs exported by the package.
|
|
73
|
-
|
|
74
|
-
π οΈ Development
|
|
75
|
-
|
|
76
|
-
When developing applications with Team Qadeer Baileys:
|
|
77
|
-
|
|
78
|
-
1. Install the package and its required dependencies.
|
|
79
|
-
2. Configure authentication and session handling.
|
|
80
|
-
3. Initialize the connection using the supported API.
|
|
81
|
-
4. Implement the messaging and event-handling workflows your application needs.
|
|
82
|
-
5. Handle connection errors and reconnection scenarios.
|
|
83
|
-
6. Protect authentication credentials and session files.
|
|
84
|
-
|
|
85
|
-
For exact methods, configuration options, and supported features, consult the project's source code and examples.
|
|
63
|
+
connectToWhatsApp();
|
|
86
64
|
|
|
65
|
+
π Official Links
|
|
66
|
+
* Official Dashboard / Panel: Qadeer AI Panel
|
|
67
|
+
* GitHub Repository: Qadeer-Xtech
|
|
87
68
|
π Security Best Practices
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
- Add private configuration files and session directories to ".gitignore".
|
|
94
|
-
- Avoid logging authentication secrets or private message contents.
|
|
95
|
-
- Store session data securely and restrict unauthorized access.
|
|
96
|
-
- Keep dependencies updated and review security advisories.
|
|
97
|
-
- Never expose private credentials in public repositories or npm packages.
|
|
98
|
-
|
|
69
|
+
Your security is our top priority. Please adhere to these guidelines:
|
|
70
|
+
* Never share your session folder or authentication credentials.
|
|
71
|
+
* Keep API keys and sensitive data inside .env variables.
|
|
72
|
+
* Always add your session directories to .gitignore.
|
|
73
|
+
* Regularly update the package to get the latest security patches.
|
|
99
74
|
β οΈ Responsible Use
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
- Project: Team Qadeer Baileys
|
|
115
|
-
- Brand: Team Qadeer
|
|
116
|
-
|
|
117
|
-
Unless expressly authorized in writing by the copyright holder, unauthorized copying, redistribution, republication, or commercial resale of original proprietary code and materials from this project is prohibited.
|
|
118
|
-
|
|
119
|
-
Users may not falsely claim authorship of the original project or its proprietary components.
|
|
120
|
-
|
|
121
|
-
Third-party dependencies and incorporated code remain subject to their respective licenses. This notice does not replace or override any applicable third-party license.
|
|
122
|
-
|
|
123
|
-
For permission or licensing inquiries, contact the project owner through the project's official contact channel.
|
|
124
|
-
|
|
125
|
-
π Acknowledgements
|
|
126
|
-
|
|
127
|
-
Thank you for your interest in Team Qadeer Baileys.
|
|
128
|
-
|
|
129
|
-
The project is developed under the Team Qadeer brand with a focus on flexibility, maintainability, and developer experience.
|
|
130
|
-
|
|
131
|
-
<p align="center">
|
|
132
|
-
<strong>TEAM QADEER</strong>
|
|
133
|
-
<br />
|
|
134
|
-
<em>Code with Purpose. Build Without Limits.</em>
|
|
135
|
-
</p>
|
|
75
|
+
This library is intended for educational purposes, legitimate development, and authorized automation.
|
|
76
|
+
* Users are solely responsible for ensuring their applications comply with local laws and WhatsApp's Terms of Service.
|
|
77
|
+
* Team Qadeer is not responsible for any account bans or misuse of this library.
|
|
78
|
+
π Copyright & License
|
|
79
|
+
Copyright Β© 2026 Qadeer AI Mini & Team Qadeer. All Rights Reserved.
|
|
80
|
+
* Creator: Qadeer Khan
|
|
81
|
+
* Project: Qadeer AI Mini
|
|
82
|
+
* Brand: Team Qadeer
|
|
83
|
+
Unauthorized copying, redistribution, or commercial resale of the proprietary engine modifications is strictly prohibited.
|
|
84
|
+
<div align="center">
|
|
85
|
+
<b>TEAM QADEER</b>
|
|
86
|
+
|
|
87
|
+
<i>Code with Purpose. Build Without Limits.</i>
|
|
88
|
+
</div>
|