KarimJedda/whatsappcli
소개
WhatsApp에서 서버를 제어합니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalwhatsappcli
Control your server from Whatsapp
What it does?
It allows you to control a server or a group of servers using whatsapp. The script is installed on the server and runs in the background. There are two ways of controlling the server:
- Send a command to be executed on the server through
/exec command, example: sending/exec ls -trwill execute thels -tron the server and return the results as a message on whatsapp.
- Call a predefined python function on the server. At the moment, some dummy functions are present, like
hello,start_server,memory_usage,preparing_demo..
In order to edit those functions, edit the src/routes.py file to suit your needs.
It can even send pictures over, or do some text to speech (it can tell jokes)
At the moment, there is no authentication or security, but it's planned. I would not use it in production, it's a work in progress, but it already works well.
For any questions just ask
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.pyto get the whatsapp credentials - Edit the
src/routes.pyfile to suit your CLI needs - Then just run the server with
python src/server.py
Credits
Heavily inspired by joaoricardo000's work - https://github.com/joaoricardo000/whatsapp-bot-seed
관련 프로젝트 살펴보기
불러오는 중…