Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/veryshyjelly/whatsapp-ki-maya
https://github.com/veryshyjelly/whatsapp-ki-maya
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/veryshyjelly/whatsapp-ki-maya
- Owner: veryshyjelly
- Created: 2024-02-04T13:16:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-06-29T12:03:56.000Z (7 months ago)
- Last Synced: 2024-06-29T13:25:29.077Z (7 months ago)
- Language: Go
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# whatsapp-ki-maya
## Usage
### Using Docker
- Build the docker image
```bash
docker build -t whatsapp-ki-maya .
```
- Run the docker container
```bash
docker run -d -p 8050:8050 --name whatsapp-ki-maya whatsapp-ki-maya
```### Login to whatsapp
- Open the browser and navigate to `http://localhost:8050/login`
- Scan the QR code using your phone
- You are now logged in to whatsapp### Connecting to Websocket
- Using Postman
- Create a new request
- Set the request type to `WebSocket`
- Set the request URL to `ws://localhost:8050/ws?sub=$chat_id`
- Click on `Connect` button
- Send the first message as API token
- You are now connected to the bot