Skip to content

danhol86/dh-messages-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dh-messages-client

This client uses android API to mimic browser calls to connect to and manage messages from https://messages.google.com/web/conversations

Status

Node

  • extract QR code image
  • refresh token
  • read incoming messages
  • read messages for contact
  • send message to existing contact
  • download images
  • download attachments
  • send images/attachments
  • send message to new number

Go

  • extract QR code image
  • refresh token
  • read incoming messages
  • read messages for contact
  • send message to existing contact
  • download images
  • download attachments
  • send images/attachments
  • send message to new number

Testing

  • The following tests will start the connection, and if needed, generate a new QR image file in the source data folder.
  • Open and scan image using messages app
  • All events should fire and show in console
  • After auth, all required auth data is stored in a sessiondata JSON file in data folder.
  • If session file already exists, then initial QR not required, and will connect and refresh token where needed

Node (Docker)

Install Docker

cd myjsapp
docker compose up --build

Node (Local)

Install node > v15

cd myjsapp
npm install
node src/test.js

Go (Docker)

Install Docker

cd mygoapp
docker compose up --build

Go (Local)

Install Go

cd mygoapp
go run dhmessagestest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published