landx-id/whatsapp-api-dashboard
Fork: 2 Star: 8 (更新于 2024-11-02 07:57:06)
license: 暂无
Language: JavaScript .
API Implementation and Lite Dashboard for https://github.com/pedroslopez/whatsapp-web.js
最后发布版本: v0.1.4 ( 2022-11-14 19:03:53)
WhatsApp Bot API
A WhatsApp API client that connects through the WhatsApp Web browser app
It uses Puppeteer to run a real instance of Whatsapp Web to avoid getting blocked.
NOTE: I can't guarantee you will not be blocked by using this method, although it has worked for me. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.
This project i using ExpressJS
as Web Service.
Usage
Install packages
~$ npm install
Run
~$ npm start
Deploy on Production
Using Docker
Using Docker is most preferred way to run this application.
~$ docker run landx/whatsapp-api-dashboard
Using pm2
If you do not want to run it with Docker, it's recommended to run in using pm2
on production environment.
Install pm2
~$ npm install -g pm2
Run using pm2
~$ pm2 start index.js
You can run it on specifhic port
~$ PORT=3000 pm2 start index.js
To show QR Code, show the log using
~$ pm2 logs
Reference: https://pm2.keymetrics.io/docs/usage/quick-start
Integration with Google DialogFlow
You can integrate this project with Google DialogFlow. Copy .env.example
to .env
and fill env file with approriate values
WEBHOOK=WebHook URL for customizable
PROJECT_ID=DialogFlow Project ID from Google Console
PROJECT_KEY_FILE=Dialog Flow Project Key
Try API using Postman
Postman collection for this project is on https://www.getpostman.com/collections/cd5ccc53e2f30f06b388
最近版本更新:(数据更新于 2024-09-10 14:16:46)
2022-11-14 19:03:53 v0.1.4
2022-11-14 15:56:47 v0.1.3
2022-11-09 11:37:27 v0.1.2
2022-11-07 18:45:55 v0.1.1
2022-10-14 08:43:45 v0.1.0
landx-id/whatsapp-api-dashboard同语言 JavaScript最近更新仓库
2024-11-05 19:13:47 jerryc127/hexo-theme-butterfly
2024-11-05 13:53:42 LiteLoaderQQNT/LiteLoaderQQNT
2024-11-03 02:40:36 chris81605/Degrees-of-Lewdity_Cheat_Extended
2024-11-01 21:55:46 projectdiscovery/nuclei-templates
2024-11-01 19:24:44 NumberSir/DoL-I18n-Build
2024-11-01 12:25:14 midoks/mdserver-web