WhatsApp Bot Seed: A Small Python Framework To Create A WhatsApp Bot Like A Web Framework


A small python framework to create a whatsapp bot, with regex-callback message routing (just like a web framework).

What it does?

Basic message handling:
Example


Automatic media (images and videos) download, and url print screens
Example


Youtube Video Downloads, and Text to Speech
Example


Google image and web search
Example


Group administration
Example



Installation

  • Install the image handling system dependencies on bash opt/system-requirements.sh
  • Create a virtualenv and install the requirements pip install -r opt/requirements.pip
  • Follow the instructions on src/config.py to get the whatsapp credentials.
  • Then just run the server with python src/server.py


To create your own views, check the src/router.py, and the src/view/basic_views.py for a simple example.

Download