Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

Baileys

> 编程语言
Open source

Socket-based TS/JavaScript API for WhatsApp Web

10.5K stars0 likes5 views
WebsiteGitHub

About

Socket-based TS/JavaScript API for WhatsApp Web

[!CAUTION] NOTICE OF BREAKING CHANGE.

As of 7.0.0, multiple breaking changes were introduced into the library.

Please check out https://whiskey.so/migrate-latest for more information.

Baileys is a WebSockets-based TypeScript library for interacting with the WhatsApp Web API.

Join the WhiskeySockets community via the link: https://whiskey.so/discord

Usage & Guide

[!IMPORTANT] The new guide is a work in progress. Expect missing pages/content. Report missing or incorrect content.

You can still access the old guide here: README.md, or the NPM homepage.

The new guide is posted at https://baileys.wiki .

Get Support

If you'd like business to enterprise-level support from Rajeh, the current maintainer of Baileys, you can book a video chat. Book a 1 hour time slot by contacting him on Discord or pre-ordering here. The earlier you pre-order the better, as his time slots usually fill up very quickly. He offers immense value per hour and will answer all your questions before the time runs out.

If you are a business, we encourage you to contribute back to the high development costs of the project and to feed the maintainers who dump tens of hours a week on this. You can do so by booking meetings or sponsoring below. All support, even in bona fide / contribution hours, is welcome by businesses of all sizes. This is not condoning or endorsing businesses to use the library. See the Disclaimer below.

Sponsor

If you'd like to financially support this project, you can do so by supporting the current maintainer here.

Disclaimer

[!CAUTION] This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WhatsApp or any of its subsidiaries or its affiliates. The official WhatsApp website can be found at whatsapp.com. "WhatsApp" as well as related names, marks, emblems and images are registered trademarks of their respective owners.

The maintainers of Baileys do not in any way condone the use of this application in practices that violate the Terms of Service of WhatsApp. The maintainers of this application call upon the personal responsibility of its users to use this application in a fair way, as it is intended to be used. Use at your own discretion. Do not spam people with this. We discourage any stalkerware, bulk or automated messaging usage.

License

Copyright (c) 2025 Rajeh Taher/WhiskeySockets

Licensed under the MIT License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Thus, the maintainers of the project can't be held liable for any potential misuse of this project.

Issues· 333 open

View all issuesOpen on GitHub
  • #2821

    sendMessage with image can hit Connection Closed while socket is still connecting

    StaleUpdated Sep 29, 2026
  • #2767

    [BUG] downloadMediaMessage not requesting reupload

    bugUpdated Sep 27, 2026
  • #2800

    Account is Restricted.

    bugUpdated Sep 27, 2026
  • #2832

    Pairing code rejected with close reason 401 at link registration (official client links fine from same phone/IP)

    Updated Sep 25, 2026
  • #2759

    [BUG] Pairing notification not showing on WhatsApp

    bugUpdated Sep 23, 2026
  • #2810

    Initial event buffer can be held forever: `<ib><offline>` never arrives and `!!node.attrs.offline` treats `offline="0"` as offline

    StaleUpdated Sep 23, 2026
  • #347

    [BUG] Link preview images not showing on Android devices

    bugUpdated Sep 22, 2026
  • #2827

    [BUG]

    bugUpdated Sep 22, 2026
  • #2051

    [BUG] Does link preview work on v7?

    bugUpdated Sep 21, 2026
  • #2737

    [BUG] QR pairing never completes: <notification type='companion_reg_refresh'> is unhandled (reproduced independently in whatsmeow)

    Updated Sep 21, 2026

> Tags

JavaScriptbundenonodejsreverse-engineering

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言