{"slug": "building-a-decentralized-mesh-network-in-rust-ghostwire", "title": "Building a Decentralized Mesh Network in Rust: GhostWire", "summary": "A developer has released GhostWire, an open protocol and Rust reference implementation for resilient peer-to-peer mesh communication built on libp2p, XChaCha20-Poly1305 encryption, X25519/ML-KEM-768 hybrid post-quantum key exchange, delay-tolerant networking, and AI-assisted routing. The project targets disaster responders, rural communities, and privacy advocates who need communication to function over intermittent connectivity and untrusted infrastructure, and is available as a Rust crate, REST API, or implementable spec.", "body_md": "GhostWire is an open protocol and reference implementation for resilient peer-to-peer communication. It is built in Rust with libp2p, XChaCha20-Poly1305, X25519/ML-KEM hybrid post-quantum key exchange, delay-tolerant networking, and AI-assisted routing.\n\nMost communication systems assume a working internet, centralized servers, and stable identities. GhostWire assumes the opposite: intermittent connectivity, untrusted infrastructure, and real physical threats. It is built for disaster responders, rural communities, privacy advocates, and developers who need communication that still works when the normal stack fails.\n\n```\nApplication: messaging, knowledge ark, ghost channels\nAPI: REST, WebSocket, CLI, TUI\nServices: block store, mailbox, social, Sphinx\nAI routing: LightGBM -> Gemma 4 -> GNN -> PRoPHET\nCrypto: XChaCha20-Poly1305, X25519, ML-KEM-768\nTransports: TCP, WebRTC, BLE, LoRa, obfs4, Reticulum\nMesh: libp2p GossipSub, Kademlia DHT, DTN\ngit clone https://codeberg.org/PHANTOMOJO/GhostWire-secure-mesh-communication.git\ncd GhostWire-secure-mesh-communication/ghostwire\ncargo run --release\n```\n\nThe node starts on `http://127.0.0.1:8080`. Mesh networking activates with `--mesh-port`.\n\nGhostWire is a protocol, not just an app. Use it as a Rust crate, REST API, or implement the spec in another language.\n\nRead the spec: `docs/spec/`\n\nGitHub/Codeberg: [https://codeberg.org/PHANTOMOJO/GhostWire-secure-mesh-communication](https://codeberg.org/PHANTOMOJO/GhostWire-secure-mesh-communication)\n\nWebsite: [https://www.ghostwire.cc/](https://www.ghostwire.cc/)\n\nWe welcome code, tests, docs, security review, and field testing. Good first issues and help-wanted labels are being prepared now. If you work on mesh networking, privacy, DTN, or Rust crypto, your review would help.", "url": "https://wpnews.pro/news/building-a-decentralized-mesh-network-in-rust-ghostwire", "canonical_source": "https://dev.to/phantomojo/building-a-decentralized-mesh-network-in-rust-ghostwire-2ff3", "published_at": "2026-10-15 16:45:51+00:00", "updated_at": "2026-10-15 16:54:31.840221+00:00", "lang": "en", "topics": ["ai-agents", "ai-infrastructure", "developer-tools", "artificial-intelligence"], "entities": ["GhostWire", "Rust", "libp2p", "ML-KEM-768", "XChaCha20-Poly1305", "LightGBM", "Gemma 4", "Codeberg"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/building-a-decentralized-mesh-network-in-rust-ghostwire", "markdown": "https://wpnews.pro/news/building-a-decentralized-mesh-network-in-rust-ghostwire.md", "text": "https://wpnews.pro/news/building-a-decentralized-mesh-network-in-rust-ghostwire.txt", "jsonld": "https://wpnews.pro/news/building-a-decentralized-mesh-network-in-rust-ghostwire.jsonld"}}