A libpurple/Pidgin plugin for WhatsApp Web.
Powered by go-whatsapp, which is written by Lucas Engelke.
Being developed on Ubuntu 18.04.
Last seen working with go-whatsapp d7754af.
- Build using the supplied Makefile.
Optional: Trymake update-dep
for the most recent go-whatsapp version.
- Download a nightly build (Ubuntu 18.04).
- Windows binaries are kindly provided by EionRobb on occasion.
- Place the binary in your Pidgin's plugin directory (
~/.purple/plugins
on Linux).
- Create a new account
You can enter an arbitrary username. However, it is recommended to use your own internationalized number, followed by@s.whatsapp.net
.
Example:123456789
from Germany would use[email protected]
.
This way, Pidgin's logs look sane. - Upon login, a fake conversation should pop up, showing a link to a QR code.
Using your phone's camera, scan the code within 20 seconds โ just like you would do with the browser-based WhatsApp Web. - Note: Some settings only take effect after a re-connect.
Please also notice the wiki page regarding common problems.
Spectrum 2 users must set this plug-in's option system-messages-are-ordinary-messages
to true. By default, the log-in message is a system message and Spectrum 2 ignores system messages.
- Receive text messages.
- Sending text messages.
- Download files from image, audio, media, and document messages.
Files are downloaded to~/.pidgin/gowhatsapp
.
- Anything beyond simple messaging, really
From approximate most important to approximate least interesting.
- Display login QR code via the request API.
- Support stickers.
- Use a call-back for getting current preferences everywhere consistently.
- Have purple handle the message, then conditionally request download where appropriate.
- Add option to ignore invalid message IDs silently.
- Sanitize invalid message IDs (e.g.
I/fb36
). - Support group conversations properly.
- Pin go dependency version.
- Sort old messages by date.
- Improve spectrum support:
- Make online status work.
- Handle incoming files the way purple-skypeweb does.
- Detect media file mime type for sending files.
- Support sending image, audio, media, and document messages by drag-and-drop.
- Find out how whatsapp represents newlines.
- Wait for server message received acknowledgement before displaying sent message locally.
- Do not block while sending message.
- Be compatible with the "Autoreply" plug-in by having an "Away" state.
- Be compatible with the "Conversation Colors" plug-in.
- Find spurious segfault.
- Consistently use dashes in key names.