πŸ”³ WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore updated Dec 11, 2017
LICENSE Initial commit Dec 8, 2017
README.md Update README.md Jan 1, 2018
chat.js updated Jul 24, 2018
config.js Update config.js Jul 24, 2018
package.json update puppeter version to latest Jan 12, 2018
screenshot.jpg first commit Dec 8, 2017
selector.js Update selector.js May 12, 2018

README.md

Whatspup

Use Whatsapp from commandline/console/cli using GoogleChrome puppeteer! πŸ˜„

Features

  • βœ… Send and receive messages
  • βœ… Read Receipts
  • βœ… Switch between users to chat with
  • βœ… Popup notifications for new chat messages
  • βœ… Privacy settings for popup notifications
  • βœ… One-time authentication, no need to scan QR code again and again
  • βœ… Windowless/headless (hidden) mode
  • βœ… Colorful chat messages

Of course, it is not possible to send/receive picture messages from command line.

Screenshot

Main Window

Requirements

  • Node v8+
  • puppeteer v0.13.0+

Tested on Windows with Node v8.9.1 and puppeteer v0.13.0

Installation

  • Clone this repository. git clone https://github.com/sarfraznawaz2005/whatspup.git
  • Type npm install
  • Type node chat.js USERNAME (case-sensitive)
  • Chrome will open up, now just scan Whatsapp QR Code once via whatsapp app in your mobile
  • Wait for connection and start typing your messages πŸ˜„

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.

Commands

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.

Options

You can set various options in config.js file.

Others

  • You can send common emojis directly by typing :smile:, :lol:, :happy:, :love:, :wink: OR ;-), :-), <3, etc

Issues

  • Currently does not seem to work in invisible/headless mode (seems to be a bug in puppeteer currently). So you have to set window option to true in config.js file.

Contribute

You are welcome to contribute to this project.

Disclaimer

This project is not affiliated with official whatsapp in any sense.