This commit is contained in:
Tour
2025-12-06 18:58:29 +01:00
commit 04f18ef2a8
10 changed files with 5892 additions and 0 deletions

26
README.md Normal file
View File

@@ -0,0 +1,26 @@
# WhatsApp Web.js Server
Complete WhatsApp automation server with REST API, WebSocket, and SQLite storage.
## Features
**REST API** - Send messages, retrieve contacts/chats/messages
**WebSocket** - Real-time event streaming
**SQLite** - Persistent storage for all data
**Media Storage** - Automatic media file handling
**Authentication** - API key protection
**All Original Commands** - Full command handler support
## Installation
```bash
npm install
```
```bash
#FIRST WORKING VERSION!! Or manually sync later
curl -X POST http://localhost:3000/api/sync \
-H "X-API-Key: VERY_STRONG_API_KEY_12345" \
-H "Content-Type: application/json" \
-d '{"contacts":true,"chats":true}'
```