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.
make update-depfor 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 (
- Create a new account
You can enter an arbitrary username. However, it is recommended to use your own internationalized number, followed by
123456789from Germany would use
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
- Anything beyond simple messaging, really
What could be done next
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.
- If file download failed, do not try to download again (make user configurable).
- If file download is disabled, mention file only once.
- 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.
- 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.
- Find spurious segfault.
- Consistently use dashes in key names.