7f1c9cd0db
The names of groupchats are truncated internally to 22 characters. This causes many problems with groupchats, since spectrum incorrectly identifies the chat by the long name. To overcome this the phoneNumber-unixTime is converted to hexadecimal, to shorten the groupchat below 22 characters |
||
---|---|---|
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:
- 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.