Skip to content

nlitsme/whatsappshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

whatsappshell

Based upon the mdtest tool previously part of whatsmeow.

mdtest was deleted from the whatsmeow project in commit 9bd3fa0cc1c1a56c4e1ea324883b876c2c008c84

This is a tool which connects to whatsapp using whatsmeow, and allows you to send most protocol messages from an interactive shell.

extensions

more commands:

  • a help command
  • a jsonadd command, which creates groups based on the specification in a json file.
  • a addgroup command, which creates a group specified on the cmdline.
  • jsonadd and addgroup also take care of inviting JIDS which fail the automatic add.
  • checkuser prints some more info for each jid checked.
  • subscribepresence is a bit more verbose.
  • corrected some typo's

other features:

  • all incoming images and videos are saved
  • the filename for images and video's contain the current time.

Building

  1. Clone the repository.
  2. Run go build inside this directory.
  3. Run ./whatsappshell to start the program. Optionally, use rlwrap ./whatsappshell to get a nicer prompt. Add -debug if you want to see the raw data being sent/received.
  4. On the first run, scan the QR code. On future runs, the program will remember you (unless whatsappshell.db is deleted).

New messages will be automatically logged. To send a message, use send <jid> <message>

Authors

  • The above extensions were added by Willem Hengeveld [email protected]
  • The main body of whatsapptool/mdtest was written by the whatsmeow team.

About

Interactive shell for whatsapp, based upon former whatsmeow/mdtest tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages