whats-cli

1.2.1 • Public • Published

whatsapp-cli

Connect and send messages as a whatsapp client directly from command line.

How to works

Install

npm i -g whats-cli

Get the QRCode on command line

whats-cli connect-qr

Get the string of QRCode on command line

whats-cli connect

Send message

whats-cli send "number" "message"

Number have to be without +55 prefix (8599999999) DDD + Number, +55 prefix is configured by default.

Dealing with bad restored sessions:

Sometimes if you want to reset the stored session you can erase the whatsappSession.gob file.

rm -rf $TMPDIR/whatsappSession.gob

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.15latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.15
1.2.00
1.1.60
1.1.40
1.1.20
1.1.10
1.0.80
1.0.70
1.0.50
1.0.40
1.0.31
1.0.00

Package Sidebar

Install

npm i whats-cli

Weekly Downloads

6

Version

1.2.1

License

ISC

Unpacked Size

11.4 MB

Total Files

760

Last publish

Collaborators

  • jsdaniell