Skip to content

A small python framework to create a whatsapp bot, with regex-callback message routing.

Notifications You must be signed in to change notification settings

x23piracy/whatsapp-bot-seed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

whatsapp-bot-seed

A small python seed to create a Whatsapp Bot, with regex-callback routes (just like a web framework).
(practical extension of the examples on https://github.com/tgalal/yowsup)

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
    and a bit more...

Installation

  1. Install the image handling system dependencies on bash opt/system-requirements.sh
  2. Create a virtualenv and install the requirements pip install -r opt/requirements.pip
  3. Follow the instructions on src/config.py to get the whatsapp credentials.
  4. 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.

About

A small python framework to create a whatsapp bot, with regex-callback message routing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Shell 0.9%