8e08efabc9
Before messages sent to groups the user had not joined were lost. Now the message is sent via the bot to the user. The bot suggests that the user join the group and also relays the contents of the message. |
||
---|---|---|
conf | ||
Spectrum2 | ||
.gitignore | ||
bot.py | ||
buddy.py | ||
constants.py.sample | ||
COPYING.gpl3 | ||
group.py | ||
reader.py | ||
README.md | ||
session.py | ||
transwhat.py | ||
utils.py | ||
whatsappbackend.py | ||
yowsupwrapper.py |
transWhat
transWhat is a WhatsApp XMPP Gateway based on Spectrum 2 and Yowsup 2.
Dependencies
Python packages
pip install e4u protobuf mysql dateutil
- e4u: is a simple emoji4unicode python bindings
- yowsup: is a python library that enables you build application which use WhatsApp service.
- mysqldb: MySQL client python bindings
Spectrum 2
is a XMPP transport
Manual compile latest version from https://github.com/hanzz/libtransport.
Contributors
Pull requests, bug reports etc. are welcome. Help us to provide a open implementation of the WhatsApp protocol.
The following persons have contributed major parts of this code:
- Steffen Vogel (@stv0g): Idea and initial implementation based on Yowsup 1
- Mohammed Yaseen Mowzer (@moyamo): Port to Yowsup 2
Documentation
A project wiki is available here.
An outdated writeup of this project is also availabe at my blog.