CrisisMesh
Connected when disconnected.
The problem CrisisMesh solves
In disaster zones, remote deployments, or high-density offline environments, centralized cloud servers and standard internet infrastructure frequently fail or become unavailable. Traditional web apps cannot operate without an active internet connection, leaving users unable to share critical local data or communicate effectively.
This application solves the connectivity bottleneck by establishing direct peer-to-peer (P2P) local discovery using Wi-Fi Direct. Instead of relying on central servers:
Offline Peer Discovery: Devices can discover each other locally over Wi-Fi Direct without requiring external internet or access points.
Real-time Peer Tracking: Users can instantly view the live status and count of nearby connected nodes in the mesh network.
Resilient Data Sharing: Applications built on top of this framework run reliably in completely offline environments, ensuring continuous local collaboration.
Challenges we ran into
Transitioning from Isolated Expo Runtimes to P2P: Initially, the app only functioned as isolated local instances running through the Expo environment without dynamic peer networking.
Implementing Local Peer Discovery: Configuring low-level Wi-Fi Direct protocols to work seamlessly across mobile environments without falling back on remote relay servers posed significant setup hurdles.
Managing Dynamic Mesh State: Handling dynamic peer joins, sudden disconnects, and real-time state synchronization required precise event handling to keep the live active-node counter strictly updated across all connected devices.
Resolution: We refactored the network layer to prioritize direct hardware P2P discovery using native Wi-Fi Direct APIs, enabling smooth auto-reconnection and accurate nearby peer counts.
Technologies used
