All Projects → danielcardeenas → Whatsapp Framework

danielcardeenas / Whatsapp Framework

⚗️Whatsapp python api

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Whatsapp Framework

Wa Automate Nodejs
💬 🤖 The most advanced NodeJS WhatsApp library for chatbots with advanced features. Be sure to 🌟 this repository for updates!
Stars: ✭ 1,326 (+40.32%)
Mutual labels:  api, bot, framework, whatsapp
Venom
Venom is the most complete javascript library for Whatsapp, 100% Open Source.
Stars: ✭ 3,457 (+265.82%)
Mutual labels:  bot, framework, whatsapp
Sulla
👩🏻‍🔬 Javascript Whatsapp api library for chatbots
Stars: ✭ 844 (-10.69%)
Mutual labels:  bot, framework, whatsapp
Broid Kit
Bot framework powered by Broid
Stars: ✭ 58 (-93.86%)
Mutual labels:  api, bot, framework
Wechat Go
go version wechat web api and message framework for building wechat robot
Stars: ✭ 1,381 (+46.14%)
Mutual labels:  api, bot, framework
Whatsapp Web.js
A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
Stars: ✭ 4,103 (+334.18%)
Mutual labels:  api, bot, whatsapp
Whatsapp Bot
BOT - WhatsApp Web in TypeScript
Stars: ✭ 170 (-82.01%)
Mutual labels:  api, bot, whatsapp
Messenger4j
A Java library for building Chatbots on the Facebook Messenger Platform - easy and fast.
Stars: ✭ 199 (-78.94%)
Mutual labels:  api, bot, framework
Messenger
Package messenger is used for making bots for use with Facebook messenger
Stars: ✭ 278 (-70.58%)
Mutual labels:  api, bot, framework
Pymessager
Python API to develop chatbot on Facebook Messenger Platform
Stars: ✭ 580 (-38.62%)
Mutual labels:  api, bot
Spock
Another Haskell web framework for rapid development
Stars: ✭ 623 (-34.07%)
Mutual labels:  api, framework
Fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Stars: ✭ 39,588 (+4089.21%)
Mutual labels:  api, framework
Node Telegram Bot Api
Telegram Bot API for NodeJS
Stars: ✭ 5,782 (+511.85%)
Mutual labels:  api, bot
Twitchlib
C# Twitch Chat, Whisper, API and PubSub Library. Allows for chatting, whispering, stream event subscription and channel/account modification. Supports .NET Core 2.0
Stars: ✭ 519 (-45.08%)
Mutual labels:  api, bot
Wbot
A simple Web based BOT for WhatsApp™ in NodeJS 😜. Working as of 📅 Feb 14th, 2020
Stars: ✭ 638 (-32.49%)
Mutual labels:  bot, whatsapp
Operative Framework
operative framework is a OSINT investigation framework, you can interact with multiple targets, execute multiple modules, create links with target, export rapport to PDF file, add note to target or results, interact with RESTFul API, write your own modules.
Stars: ✭ 511 (-45.93%)
Mutual labels:  framework, whatsapp
Dsharpplus
A .NET Standard library for making bots using the Discord API.
Stars: ✭ 635 (-32.8%)
Mutual labels:  api, bot
Graphql Framework Experiment
Code-First Type-Safe GraphQL Framework
Stars: ✭ 698 (-26.14%)
Mutual labels:  api, framework
Zerocode
A community-developed, free, open source, microservices API automation and load testing framework built using JUnit core runners for Http REST, SOAP, Security, Database, Kafka and much more. Zerocode Open Source enables you to create, change, orchestrate and maintain your automated test cases declaratively with absolute ease.
Stars: ✭ 482 (-48.99%)
Mutual labels:  api, framework
Me bot
Build a bot that speaks like you!
Stars: ✭ 641 (-32.17%)
Mutual labels:  bot, whatsapp

Warning

Whatsapp blocks numbers now. Framework wont work properly until next version

Meanwhile heres a better alternative: project sulla

mac (Whatsapp framework)

Version Version

Mac is a whatsapp bot/framework I made as a weekend project. The project itself has all you need to make your own custom bot easily.

Mac has built-in human behavior so you only have to worry about the functions you make. Every module works completely separated from the core, this means that you can erease every module and mac will keep working

This needs Python 3.5

Setup:

  1. Clone this repository (with submodules since it uses tgalal's yowsup library)
> git clone https://github.com/danielcardeenas/whatsapp-framework.git
  1. Run setup.sh (Most likely on sudo since its going to install some libraries)
> sudo ./setup.sh
  1. Register your phone and get a password with like this:
# Replace CC with your country code (See https://countrycode.org)
> yowsup-cli registration --requestcode sms --phone CCXXXXXXXX --cc CC -E android
# After getting the sms code (in this example: 123456)
> yowsup-cli registration --register 123456 --phone CCXXXXXXXX --cc CC -E android
  1. Open config.py and add set your credentials

  2. Ready to go! (Now you can add your own whatsapp modules)

> ./start.sh

Quickstart

Create your own module inside modules/ directory

# modules/hi_module.py

from app.mac import mac, signals

@signals.message_received.connect
def handle(message):
    if message.text == "hi":
        mac.send_message("Hello", message.conversation)
        
        # Can also send media
        #mac.send_image("path/to/image.png", message.conversation)
        #mac.send_video("path/to/video.mp4", message.conversation)

Now you should only add it into modules/__init__.py to enable the module

# modules/__init__.py
...
from modules import hi_module
...

And that's it! You are ready to go.

If your module needs libraries from pip you should add them into a requirements.txt and run sudo ./setup.sh to download the dependencies
You can take hihelp module as an example.

Updates

The project is not submoduling yowsup now due to a lot of the modifications made are focused for this project only and to make things simpler.

  • [x] Notification on messages receipt (received and blue check marks)
  • [x] Get contacts statuses
  • [x] Get contacts profile picture (also from groups)
  • [x] Set profile picture (also from groups)
  • [x] Send videos (needs ffmpeg installed)
  • [x] Add support for @tag messages
  • [x] Add support for reply messages
  • [x] Add support for receiving images
  • [x] Add support for big receiving big files (downloading and decryption done in chunks)
  • [x] Add support for sending images
  • [ ] Add support for encrypting images in chunks (TODO)
  • [ ] Add pickle support to remember the messages when mac its turned off(TODO)

Example screenshots:

Wiki

Read this

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].