whatsmeow: Go library for WhatsApp web multidevice API
Go client library for WhatsApp web multidevice protocol.
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.
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.
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.
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()
}Top in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
Redoc
React component rendering OpenAPI specifications as interactive HTML documentation.
Biome
Unified toolchain providing fast formatting and linting for JavaScript, TypeScript, CSS, and JSON with CLI and LSP.
Git
Snapshot-based version control with distributed repository architecture.
Bubble Tea
Go framework for terminal user interfaces based on The Elm Architecture with inline/fullscreen modes.
node-gyp
Compiles native C/C++ addons for Node.js.