https://github.com/expertcoderz/wd-mta
WhatsApp-to-Discord Message Transfer Automaton
https://github.com/expertcoderz/wd-mta
discord discord-bot discord-py whatsapp
Last synced: 8 months ago
JSON representation
WhatsApp-to-Discord Message Transfer Automaton
- Host: GitHub
- URL: https://github.com/expertcoderz/wd-mta
- Owner: Expertcoderz
- License: agpl-3.0
- Created: 2025-05-14T07:53:06.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-05-28T15:31:32.000Z (9 months ago)
- Last Synced: 2025-06-07T01:39:06.727Z (8 months ago)
- Topics: discord, discord-bot, discord-py, whatsapp
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wd-mta
WD-MTA (WhatsApp-to-Discord Message Transfer Automaton) is a Discord bot that
performs bidirectional forwarding of messages between Discord and WhatsApp.
This project is currently unfinished:
- Only WhatsApp-to-Discord forwarding has been implemented.
- Not all message types are supported. Text messages and reactions work, though.
- Beware bugs!
- No packaging, yet.
## Architecture
To interface with WhatsApp for operations such as retrieving chats and messages,
WD-MTA communicates with a separate server providing the [WuzAPI](https://github.com/asternic/wuzapi)
RESTful API over a HTTP connection. WuzAPI in turn uses the [whatsmeow](https://github.com/tulir/whatsmeow)
Go library to implement WhatsApp functionality. This design approach, rather
than communicating directly with WhatsApp, was chosen for WD-MTA due to an
apparent lack of suitable and up-to-date Python libraries for WhatsApp
operations.
Discord bot functionality is provided via the [discord.py](https://github.com/Rapptz/discord.py)
library.
The overall architecture, in terms of data flow, can be visualized as follows:
```txt
+------------------+ +--------+ +--------+ +-----------------+
| WhatsApp servers | <---> | WuzAPI | <---> | WD-MTA | <---> | Discord servers |
+------------------+ +--------+ +--------+ +-----------------+
```