Skip to content

🔳 WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer

License

Notifications You must be signed in to change notification settings

Himanshu0026/whatspup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • Scan Whatsapp QR Code once
  • Wait for connection and start typing your messages 😄

You can switch chat with another user anytime by typing on console: --chat USERNAME

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.

Options

You can set various options in config.js file.

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.

About

🔳 WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%