You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
eta 8265be8acf new and improved login message! 3 years ago
examples.old 0.2.2: add more tokens, better node error messages 4 years ago
proto Add latest protobuf definitions, rework protoc generation, ver bump 4 years ago
src new and improved login message! 3 years ago
.gitignore Add latest protobuf definitions, rework protoc generation, ver bump 4 years ago
.travis.yml add Travis CI config 4 years ago
Cargo.toml Update futures to 0.3 3 years ago
LICENSE Added License 5 years ago
README.md readme update 4 years ago
build.rs 0.3.1: fix dependencies using tilde requirements, rename crate 4 years ago

README.md

whatsappweb-rs (eta's fork)

Crates.io badge Docs Build Status

What is this?

This is a fork of whatsappweb-rs by Christoph Walcher (@wiomoc). It's used by sms-irc, and is actively maintained in conjuction with that project. I didn't write most of this code - and most of the reverse-engineering work for the protocol was done by sigalor, under the aegis of the whatsapp-web-reveng project.

What have you changed?

  • Various stability fixes (doesn't error out as easily when WhatsApp sends us weird stuff)
  • Made it suitable for publication to crates.io
  • Dependency updates (to work with modern Rust crates)
  • New error handling (using failure instead of error-chain)
  • Small bug fixes here and there
  • More data exposed (e.g. videos, unimplemented messages, captions)

Features

(taken from the original README verbatim)

  • send/receive text-, image-, audiomessages
  • create/modify groups
  • get userinfo (status, presence, profilepic)
  • get contacts, chats
  • send/receive message acknowledge
  • receive changes from app e.g. (un-)pin, (un-)mute, delete chat
  • relogin without scanning qrcode
  • query older messages
  • reconnect on connection loss

TODO

  • Error messages need to be less stringly-typed
  • Message deletions / revocations
  • Broadcast lists
  • Documentation!
  • Code cleanup

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its affiliates or subsidiaries. This is an independent and unofficial software. Use at your own risk.