Description
GoogleChrome puppeteer is interesting project to create browser automation tools, testing tools or web scrapping. I was wondering to use it for something useful and an idea popped in about creating CLI application that can be used to send and receive messages on Whatsapp. So I went on to creating Whatspup, a name based on both Whatsapp and puppeteer.
Whatspup alternatives and similar modules
Based on the "Command Line Apps" category.
Alternatively, view Whatspup alternatives based on common mentions on social networks and blogs.
-
ignite
Infinite Red's battle-tested React Native project boilerplate, along with a CLI, component/model generators, and more! 9 years of continuous development and counting. -
David
:eyeglasses: Node.js module that tells you when your package npm dependencies are out of date. -
tty-table
Terminal table for Windows, Linux, and MacOS. Written in nodejs. Also works in browser console. Word wrap, padding, alignment, colors, Asian character support, per-column callbacks, and you can pass rows as objects or arrays. Backwards compatible with Automattic/cli-table.
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Whatspup or a related project?
README
Whatspup
Use Whatsapp from commandline/console/cli using GoogleChrome puppeteer! :smile:
Features
- :white_check_mark: Send and receive messages
- :white_check_mark: Read Receipts
- :white_check_mark: Switch between users to chat with
- :white_check_mark: Popup notifications for new chat messages
- :white_check_mark: Privacy settings for popup notifications
- :white_check_mark: One-time authentication, no need to scan QR code again and again
- :white_check_mark: Windowless/headless (hidden) mode
- :white_check_mark: Colorful chat messages
Of course, it is not possible to send/receive picture messages from command line.
Screenshot
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 :smile:
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
Contribute
You are welcome to contribute to this project.
Disclaimer
This project is not affiliated with official whatsapp in any sense.