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.
Related Reading
Guides and comparisons from the Greptile content library
What is Source Code Management (SCM): Everything Engineering Leaders Need to Know
Source code management is more than branching and merging. Here is how SCM works, the top tools, the best practices, and why good code review is the foundation of source control in an agentic era.
What Is Code Review? (And How to Keep It From Becoming the Bottleneck)
What code review is, how traditional, automated, and AI code review differ, and why review is now the bottleneck as AI writes more code. Plus how to pick a code review tool that catches real bugs.
Guide to Self-Hosted AI Code Review for GitLab and GitHub Enterprise [2026]
How self-hosted AI code review works on GitLab Self-Managed and GitHub Enterprise Server, how it compares to SaaS review tools, what to look for in a self-hosted tool, and what a self-hosted rollout actually takes.
How to Evaluate Code Review Tools: The 4 Step Framework
A 4-step framework for evaluating code review tools on large teams with complex codebases: define what you need, build a shortlist, run a live test, and get developer feedback. Plus a shortlist of tools and how to future-proof your review process.