whiskeysockets/baileys

Socket-based TS/JavaScript API for WhatsApp Web

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 17 minutes ago
Added to GitGenius on September 5th, 2026
Created on January 12th, 2022
Open Issues & Pull Requests: 338 (+0)
GitHub issues: Enabled
Number of forks: 3,355
Total Stargazers: 10,976 (+0)
Total Subscribers: 216 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 6.9 hours
Mean response time: 12.4 days
90th percentile: 14.1 days
Tracked items: 1,140

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 71% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 5% of issues opened in the past year have been closed. Three people close 64% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 286
New in 7 days: 7
Closed in 7 days: 3
Avg open age: 271 days
Stale 30+ days: 231
Stale 90+ days: 199

Recent activity

Opened in 7 days: 7
Closed in 7 days: 3
Comments in 7 days: 6
Events in 7 days: 19

Top labels

  • bug (891)
  • Stale (141)
  • duplicate (17)
  • enhancement (13)
  • LID related (5)
  • documentation (3)
  • invalid (2)
  • question (2)

Detailed Description

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

The library solves the problem of programmatically accessing WhatsApp Web by establishing a socket connection to the WhatsApp Web interface and exposing its functionality through a TypeScript API. Rather than relying on official APIs, it intercepts and replicates the communication patterns used by the web client, allowing developers to send messages, manage contacts, and perform other WhatsApp operations from Node.js, Deno, or Bun environments.

Baileys suits developers building automation tools, chatbots, or integrations that need WhatsApp connectivity without official API access. It works across multiple JavaScript runtimes and is written in TypeScript for type safety. Developers should be aware that this is a reverse-engineered solution not affiliated with WhatsApp, and the README explicitly discourages use for spam, bulk messaging, or stalkerware. The project carries significant legal and terms-of-service risk, and users are expected to exercise personal responsibility. The library has undergone breaking changes in recent versions, so migration guidance should be reviewed before upgrading.

The project maintains active development with regular updates and breaking changes introduced to improve the codebase. The maintainer offers commercial support through paid consultation slots and accepts sponsorship to offset development costs. Documentation is being actively rewritten with a new guide in progress, though the older documentation remains available during the transition.