MyGit
🚩收到GitHub仓库的更新通知

landx-id/whatsapp-api-dashboard

Fork: 2 Star: 7 (更新于 2024-05-07 00:53:41)

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)

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

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-05-06 02:27:52)

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-05-16 04:59:29 openlayers/openlayers

2024-05-16 03:28:44 nodejs/node

2024-05-15 06:40:52 langflow-ai/langflow

2024-05-15 03:05:45 emberjs/ember.js

2024-05-13 23:31:30 jgraph/drawio-desktop

2024-05-13 08:10:29 jellyfin/jellyfin-web