jlucaso1 / whatsapp-rust
Whatsapp client written purely in Rust based on whatsmeow and baileys
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing jlucaso1/whatsapp-rust in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewwhatsapp-rust A high-performance, async Rust library for the WhatsApp Web API. Inspired by whatsmeow (Go) and Baileys (TypeScript). Docs llms.txt llms-full.txt Features Authentication • QR code pairing • Pair code (phone number) linking • Persistent sessions with automatic reconnection Messaging • End-to-end encrypted messages (Signal Protocol) • One-on-one and group chats • Message editing and reactions • Quoting/replying to messages • Delivery, read, and played receipts Media • Upload and download images, videos, documents, GIFs, and audio • Automatic encryption and decryption Contacts & Groups • Check if phone numbers are on WhatsApp • Fetch profile pictures and user info • Query group metadata and participants • List all groups you're participating in Presence & Chat State • Set online/offline presence • Typing indicators (composing, recording, paused) • Block and unblock contacts Architecture • **Modular design** - Pluggable storage, transport, and HTTP clients • **Runtime agnostic** - Works with Tokio, async-std, or WASM • **SQLite included** - Default storage backend, easily swappable Quick Start Run the included demo bot: Project Structure Custom Backends Implement your own storage, transport, or HTTP client by implementing the respective traits. See the default implementations for reference. Disclaimer This is an unofficial, open-source reimplementation. Using custom WhatsApp clients may violate Meta's Terms of Service and could result in account suspension. Use at your own risk. Acknowledgements • whatsmeow (Go) • Baileys (TypeScript)