• Stars
    star
    134
  • Rank 270,967 (Top 6 %)
  • Language
    Shell
  • License
    Other
  • Created over 6 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Docker image based on Ubuntu Desktop with VNC and noVNC access, that runs a lightweight Android Virtual Device with WhatsApp pre-installed.

Docker Android AVD with WhatsApp pre-installed

A Docker image based on Ubuntu Desktop with VNC and noVNC access, that runs a lightweight Android Virtual Device.

The Dockerfile uses the following image as a base: dorowu/ubuntu-desktop-lxde-vnc:xenial

Deployment

docker-compose up --build

Access noVNC

Visit localhost:6080

  • Default username: root
  • Default password: secret

Start Android AVD

Using Supervisord to manage the services, the Android AVD should start up automatically with WhatsApp pre-installed. If it doesn't then...:

Run the following command

${ANDROID_HOME}/tools/emulator @Pixel -gpu off

Using emulator throws an error described somewhere on SO... can't recall where, anyway the fix is to call from directory directly.

NOTE

At the moment the Docker entrypoint CMD/Supervisord isn't configuring the AVD. For now, to do it manually, run:

/app/entrypoint.sh

/app/start-avd.sh

In case you would like to start it with camera support (will take the screen from the VM as camera input):

/app/start-avd-with-cam.sh

After Android started, open your browser and open WhatsAppWeb or if you have the Matrix WhatsAppBridgeBot send login. This should delivever you the QR code, now open in WhatsApp under option the "WhatsAppWeb", move with the Firefox window with QR code that it fits in the camera field of whatsapp. Depending on camera position it helps to rotate your mobile phone with the emulator buttons to be able to catch the QR code.

For more detail to bridge with matrix look here: https://matrix.org/docs/guides/whatsapp-bridging-mautrix-whatsapp

Please feel welcome to submit a pull-request to fix it!

Further Development

I'd like to stream a VNC feed via the v4l2loopback kernel module into the Android AVD... WIP. This would allow one to scan WhatsApp web barcodes remotely.

Acknowledgements

More Repositories

1

wa-automate-nodejs

💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
TypeScript
3,096
star
2

wa-automate-python

💬 🤖 The most advanced Python whatsapp library for chatbots with advanced features. Be sure to ⭐ this repository for updates!
Python
337
star
3

wa-automate-docker

💬 🤖 The easiest way to turn your WhatsApp into an API. Be sure to 🌟 this repository for updates!
JavaScript
106
star
4

wa-automate-socket-client-python

🔌 🛠 The wa-automate socket client allows you to easily connect to remote EASY API instances. Be sure to 🌟 this repository for updates!
Python
87
star
5

whatsapp-button

A simple whatsapp button web component. Easily start whatsapp conversations!
JavaScript
53
star
6

wa-decrypt-nodejs

A lightweight implementation of the wa-automate-nodejs media decryption code for NodeJS
TypeScript
23
star
7

wa-automate-deploy-heroku

Easy API deployment for Heroku
14
star
8

node-red-contrib-wa-automate

A node-red connector for remote instances of wa-automate-nodejs. Be sure to 🌟 this repository for updates!
TypeScript
13
star
9

wa-automate-socket-client-nodejs

🔌 🛠 The wa-automate socket client allows you to easily connect to remote EASY API instances. Be sure to 🌟 this repository for updates!
TypeScript
9
star
10

utils-nodejs

Utilities for all @open-wa node libraries
TypeScript
1
star
11

wa-automate-deploy-railway

A repo for the default railway configuration
Dockerfile
1
star
12

LICENSE

The license used for all projects under the open-wa org. This license is a mix of the Hippocratic and Do Not Harm Licenses.
1
star