Building a Decentralized Mesh Network in Rust — Lessons from the Global South

TL;DR AI
2 min readKey summary
GhostWire is a decentralized, censorship-resistant mesh communication platform written in Rust that runs without central servers.
It uses libp2p with a S/Kademlia-hardened DHT and Gossipsub, and supports multiple transports including WiFi Direct, Bluetooth LE, and LoRa.
Routing decisions use AI models trained on GuifiSants data; a LightGBM detector runs in 76.7μs and a GNN was trained on 7,931 samples.
Messages are end-to-end encrypted with AES-256-GCM, X25519 key exchange, and Ed25519 signatures, and the project is AGPL-3.0 licensed and seeking contributors.
