Skip to content

Expertcoderz/wd-mta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 RESTful API over a HTTP connection. WuzAPI in turn uses the 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 library.

The overall architecture, in terms of data flow, can be visualized as follows:

+------------------+       +--------+       +--------+       +-----------------+
| WhatsApp servers | <---> | WuzAPI | <---> | WD-MTA | <---> | Discord servers |
+------------------+       +--------+       +--------+       +-----------------+

About

WhatsApp-to-Discord Message Transfer Automaton

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages