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

Latest commit

 

History

History
21 lines (16 loc) · 926 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 926 Bytes

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"