mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 04:29:15 +00:00
Update README.md
This commit is contained in:
41
README.md
41
README.md
@@ -47,43 +47,14 @@ client.initialize();
|
|||||||
|
|
||||||
Take a look at [example.js](https://github.com/pedroslopez/whatsapp-web.js/blob/master/example.js) for another example with more use cases.
|
Take a look at [example.js](https://github.com/pedroslopez/whatsapp-web.js/blob/master/example.js) for another example with more use cases.
|
||||||
|
|
||||||
## Remote Access
|
For more information on saving and restoring sessions, check out the available [Authentication Strategies](https://wwebjs.dev/guide/authentication.html).
|
||||||
|
|
||||||
You could also connect to any previously existing browser instance:
|
|
||||||
|
|
||||||
```js
|
|
||||||
const client = new Client({
|
|
||||||
puppeteer: {
|
|
||||||
browserWSEndpoint: `ws://localhost:3000`
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Docker
|
|
||||||
|
|
||||||
1) Installing a browser using browserless:
|
|
||||||
|
|
||||||
```
|
|
||||||
docker run \
|
|
||||||
--rm \
|
|
||||||
-p 3000:3000 \
|
|
||||||
-e "MAX_CONCURRENT_SESSIONS=1" \
|
|
||||||
browserless/chrome:latest
|
|
||||||
```
|
|
||||||
|
|
||||||
Reference: https://docs.browserless.io/docs/docker-quickstart.html
|
|
||||||
|
|
||||||
### Remote Debugging
|
|
||||||
|
|
||||||
2) Running a browser with websocket remote debugging enabled:
|
|
||||||
> chrome.exe --remote-debugging-port=9222
|
|
||||||
|
|
||||||
After that check the following webpage and check http://127.0.0.1:9220/json and get the **webSocketDebuggerUrl**
|
|
||||||
|
|
||||||
## Supported features
|
## Supported features
|
||||||
|
|
||||||
| Feature | Status |
|
| Feature | Status |
|
||||||
| ------------- | ------------- |
|
| ------------- | ------------- |
|
||||||
|
| Multi Device | ✅ |
|
||||||
| Send messages | ✅ |
|
| Send messages | ✅ |
|
||||||
| Receive messages | ✅ |
|
| Receive messages | ✅ |
|
||||||
| Send media (images/audio/documents) | ✅ |
|
| Send media (images/audio/documents) | ✅ |
|
||||||
@@ -116,11 +87,13 @@ Something missing? Make an issue and let us know!
|
|||||||
|
|
||||||
Pull requests are welcome! If you see something you'd like to add, please do. For drastic changes, please open an issue first.
|
Pull requests are welcome! If you see something you'd like to add, please do. For drastic changes, please open an issue first.
|
||||||
|
|
||||||
## Donating
|
## Supporting the project
|
||||||
|
|
||||||
You can support the maintainer of this project through the link below
|
You can support the maintainer of this project through the links below
|
||||||
|
|
||||||
[](https://www.paypal.me/psla/)
|
- [Support via GitHub Sponsors](https://github.com/sponsors/pedroslopez)
|
||||||
|
- [Support via PayPal](https://www.paypal.me/psla/)
|
||||||
|
- [Sign up for DigitalOcean](https://m.do.co/c/73f906a36ed4) and get $100 in credit when you sign up (Referral)
|
||||||
|
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user