@devjaelyx/wa-connect
v1.0.1
Published
WhatsApp WebSocket Library
Downloads
324
Maintainers
Readme
JAELYX WA Connect 🚀
Next Generation WhatsApp WebSocket Library for Bots, Automation & Advanced Systems
🌐 Official Links
👉 GitHub Profile: https://github.com/devjaelyx
👉 Telegram: https://t.me/devjaelyx
👉 WhatsApp: https://wa.me/48735441522
🔘 Quick Buttons
⚡ Overview
JAELYX WA Connect ist ein leistungsstarkes Framework für WhatsApp Automation, Bots und Multi-Session Systeme.
- WhatsApp Bots
- Automation Systems
- AI Chatbots
- Multi Session Control
- Pairing Code Login
🚀 Features
- WebSocket Real-Time Engine
- Multi Session Support
- Pairing Code Login System
- QR & Pairing Hybrid Login
- Event Driven Architecture
- Auto Reconnect System
- Lightweight Core
- High Performance Messaging
- Modular Design
- Developer Friendly API
📦 Installation
npm install @devjaelyx/wa-connect
🧪 Basic Example
import makeWASocket, { useMultiFileAuthState } from '@devjaelyx/wa-connect';
async function start() { const { state, saveCreds } = await useMultiFileAuthState('./session');
const sock = makeWASocket({
auth: state,
printQRInTerminal: false,
browser: ['JAELYX', 'Chrome', 'Linux']
});
sock.ev.on('creds.update', saveCreds);
sock.ev.on('connection.update', (update) => {
console.log('Connection:', update.connection);
});}
start();
🔑 Pairing Code
const code = await sock.requestPairingCode('48735441522'); console.log('PAIRING CODE:', code);
📡 Events
Connection
sock.ev.on('connection.update', (update) => { console.log(update); });
Messages
sock.ev.on('messages.upsert', (msg) => { console.log(msg); });
Credentials
sock.ev.on('creds.update', saveCreds);
🧠 Architecture
Socket Layer → WebSocket Handling
Auth Layer → Session Management
Crypto Layer → Pairing & Encryption
Event Layer → Bot Logic System
Queue Layer → Message Processing
📁 Session Structure
session/ ├── creds.json ├── keys.json ├── session-data.json └── auth-state.json
⚙️ Config
makeWASocket({ auth: state, browser: ['JAELYX', 'Edge', 'Windows'], printQRInTerminal: false, markOnlineOnConnect: true });
🔥 Performance Tips
- Multi File Auth verwenden
- Reconnect Delay stabil halten
- Events filtern
- Logging in Production deaktivieren
- Message Queue nutzen
⚠️ Disclaimer
Nur für Entwicklung und Automation gedacht.
WhatsApp kann jederzeit Änderungen durchführen.
Nutzung auf eigene Verantwortung.
🌍 Developer
Developer: JAELYX
GitHub: https://github.com/devjaelyx
Telegram: https://t.me/devjaelyx
WhatsApp: +48 735 441 522
📜 License
MIT License
