Use Whatsapp from commandline/console/cli using GoogleChrome puppeteer! 😄
Of course, it is not possible to send/receive picture messages from command line.
Tested on Windows with Node v8.9.1 and puppeteer v0.13.0
git clone https://github.com/sarfraznawaz2005/whatspup.git
npm install
node chat.js USERNAME
(case-sensitive)NOTE: Once you have connected by scanning QR code, your session will be saved so you won't have to scan it again and again unless you revoke from whatsapp app or by deleting tmp folder.
Changing User
You can switch chat with another user anytime by typing on console:
--chat USERNAME
(case-sensitive)
NOTE: USERNAME
is supposed to be a person with whom you have already initiated a conversation in whatsapp. In other words, we use a selector to click that user's name from conversations list.
Clear Chat Screen
To clear chat screen, type --clear
.
You can set various options in config.js
file.
:smile:
, :lol:
, :happy:
, :love:
, :wink:
OR ;-)
, :-)
, <3
, etcYou are welcome to contribute to this project.
This project is not affiliated with official whatsapp in any sense.