antoniomdk / whatsapp-chatwoot

13 stars 1 forks source link

WhatsApp Web for Chatwoot

Features

Setup for development

  1. Clone this repo
  2. Install dependencies yarn install
  3. Build server yarn build
  4. Create .env file (check .env.example)
  5. Run server yarn start

Deployment

Use the provided dockerfile to deploy in Dokku/Heroku, DigitalOcean, etc.

Scanning the QR Code

The server exposes a /qrcode endpoint that returns the QR image or the text "session already initialized" if the service has already logged in. The endpoint is protected, so you need to call it like this: /qrcode?token=. The auth token is any secret you want and you be added to as an env var (check .env.example).

Inspired by this repo: https://github.com/ignusmx/chatwoot-whatsapp-web

TODO