Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.
/ whatsapp-responder Public archive

A simple script which automatically responds to new WhatsApp messages

License

Notifications You must be signed in to change notification settings

D3nn7/whatsapp-responder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whatsapp-responder

A simple script which automatically responds to new WhatsApp messages

I use Signal

Current functions:

  • send a "I use Signal" message everytime a new message received

Story behind

I dont use WhatsApp and don't like it so i wrote this simple script which is a copypasta from whatsapp-web.js docs to answer with a "I use Signal" message everytime a new message is received.

Setup

  • clone project
  • install dependencies using npm i
  • start script using npm start
  • authenticate using the qr code which is displayed in the shell

To run the script without interruption on a server or a Raspberry Pi, simply install pm2 and

  • start script using pm2 start npm --name "WhatsApp responder" -- start
  • stop script using pm2 stop "WhatsApp responder"
  • remove script from pm2 pm2 remove "WhatsApp responder"