first commit

This commit is contained in:
AyrisAI
2026-05-14 22:17:26 +03:00
commit 2248a4c546
6 changed files with 117 additions and 0 deletions

26
README.md Normal file
View File

@@ -0,0 +1,26 @@
# AyrisTech WhatsApp Gateway
A simple WhatsApp Gateway worker using `whatsapp-web.js` and `express`.
## Features
- QR Code generation for authentication
- Message sending via HTTP POST
- Multi-user support via LocalAuth
## Setup
1. Clone the repository
2. Run `npm install`
3. Copy `.env.example` to `.env` and configure your settings
4. Run `npm start`
## API
### Send Message
**POST** `/send-message`
```json
{
"secret": "your_webhook_secret",
"userId": "unique_user_id",
"to": "phone_number",
"message": "your_message"
}
```