Navigate:
All Reposwhatsmeow
~$WHATSM0.4%

whatsmeow: Go library for WhatsApp web multidevice API

Go client library for WhatsApp web multidevice protocol.

LIVE RANKINGS • 06:51 AM • STEADY
TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100TOP 100
OVERALL
#56
4
BACKEND & APIS
#1
30 DAY RANKING TREND
ovr#56
·Backe#1
STARS
5.2K
FORKS
818
DOWNLOADS
7D STARS
+22
7D FORKS
+7
See Repo:
Share:

Learn more about whatsmeow

whatsmeow is a Go library that provides client-side access to WhatsApp's web multidevice API. It implements the WhatsApp protocol in Go, handling message encryption, decryption, and the underlying communication mechanisms required to interact with WhatsApp servers. The library supports core messaging features including text and media messages, group management, typing notifications, and delivery receipts. It is typically used in applications that need to integrate WhatsApp messaging capabilities without relying on the official WhatsApp client.


1

Single Binary Deployment

Compiles to a standalone Go binary with zero external dependencies or runtime requirements. Integrates directly into Go applications without separate services, containers, or language bridges.

2

Multidevice Protocol Support

Implements WhatsApp's modern multidevice API instead of the legacy web protocol. Enables concurrent sessions across devices with proper state synchronization and session management.

3

Complete Message Handling

Supports all core message types including text, media, and reactions with built-in encryption. Handles protocol-level features like retry receipts, app state sync, and group operations without manual implementation.


package main

import (
    "go.mau.fi/whatsmeow"
    "go.mau.fi/whatsmeow/store/sqlstore"
)

func main() {
    container, _ := sqlstore.New("sqlite3", "file:whatsapp.db?_foreign_keys=on", nil)
    device, _ := container.GetFirstDevice()
    client := whatsmeow.NewClient(device, nil)
    client.Connect()
}


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers