🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

bileyes

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bileyes

WhatsApp CLI

0.1.16
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Bileyes

Send WhatsApp messages from the command-line.

Installation

Using npx, installation is not necessary. You can run Bileyes on a system with NodeJS 16 or higher from the command-line as follows:

npx bileyes

Usage

Available commands and options can be listed with --help flag

npx bileyes --help

for most command it's necessary that you've authorized Bileyes to interact with the WhatsApp API on your behalf. This can be done by logging in as described below.

Login

To login you need to authorize Bileyes from another device that has WhatsApp installed and scan the QR code using the link provided in the terminal.

npx bileyes login

In the WhatsApp mobile app go to "Settings > Connected Devices > Connect Device" and scan the QR code.

Wait until the status is "active", then you can exit Bileyes.

Logout

Logging out removes credentials from your local environment but will not disconnect Bileyes from your WhatsApp account, you can disconnect Bileyes using the WhatsApp app

npx bileyes logout

Different types of recipients

Bileyes supports three types of recipients for sending messages/images/files/etc.

An international phone number (e.g.: 3161234567890)

A so-called WhatsApp ID, for example a group ID: 123456789-987654321@g.us

Sending a message to yourself or a phone number

Using the recipient me you can send yourself a test message:

npx bileyes send me 'Hello From Bileyes!'

FAQs

Package last updated on 16 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts