landx-id/whatsapp-api-dashboard
Fork: 2 Star: 8 (更新于 2024-12-22 06:56:26)
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-12-21 12:14:02 layui/layui
2024-12-21 08:27:48 gethomepage/homepage
2024-12-21 03:44:01 emberjs/ember.js
2024-12-20 02:57:09 nodejs/node
2024-12-19 17:54:54 MHSanaei/3x-ui
2024-12-14 02:13:44 bigskysoftware/htmx