Giter Site home page Giter Site logo

zedandredal / whatsapp-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from librecodecoop/whatsapp-client

0.0 0.0 0.0 180 KB

WhatsApp web php client

License: GNU Affero General Public License v3.0

Dockerfile 6.69% Shell 0.74% PHP 92.57%

whatsapp-client's Introduction

Coverage Status

WhatsApp web php client

A client for WhatsApp web in PHP.

First run

Copy the file .env.example to .env and put your Telegram Bot Token and the id of chat with your bot and go up the containers:

docker-compose up -d
docker-compose exec php7 ./bin/build

Run

docker-compose up -d

Example of use

Run this command and read the content of file example.php:

docker-compose exec php7 php example.php
  • List running browsers:

http://localhost:4443/grid/console

  • View the browser:

Open your VNC client and access the address localhost:port, the port is the number of port exposed in file docker-compose.yml for the choosed browser to use. Example: to see Firefox access localhost:5901, to see Chrome access localhost:5900.

Default password is: secret

Suggestions of new features

  • Tests. Sugestions:
    • PHPUnit
    • PHPStan
    • Psalm
    • Phan
  • Send qrcode to a Telegram bot
  • Intercept all messages and send to Telegram Bot in conversation with predefined Telegram user
  • Respond message in Telegram bot and forward the response to WhatsApp contact
  • Define default reply message every time when receive new message in WhatsApp
  • Identify when WhatsApp is offline and notify to user in Telegram Group to open the Whatsapp Client in cellphone
  • Multiple sessions

whatsapp-client's People

Contributors

joncojonathan avatar maal26 avatar pplanel avatar vitormattos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.