Sahaay is a localized, offline-first tactical mesh network designed to maintain critical communication during internet blackouts and natural disasters.
Sahaay operates through a dual-interface system powered by a robust Go backend utilizing libp2p for decentralized peer discovery.
- True Peer-to-Peer: Uses multi-address mDNS to discover and connect to local network nodes entirely without the internet.
- Event-Driven State: Operates on an atomic
UIManagerusing buffered channels to guarantee thread-safe data synchronization. - GraphQL APIs: Uses
gqlgento serve a high-performance local API overlocalhostfor the UI to consume. - Persistent Storage: Utilizes
bboltandsqliteto persist critical medical and SOS logs locally on the device.
- Offline Capable: Packaged as a desktop application so first-responders don't require browsers or domains.
- Live System Monitoring: Interfaces directly with machine stats (Battery, Connectivity) to give operators a true tactical overview.
- Message Prioritization: Triage system ranging from
LowtoCRITICALwith visual alerting.
- Backend: Go (1.24.6), Libp2p, GraphQL (99designs/gqlgen), BoltDB
- Frontend: React 19, Vite, Tailwind CSS, Lucide Icons, Leaflet (Mapping)
- Desktop Wrapper: Electron & Electron Builder
- Go 1.24+
- Node.js & npm
cd sahaay
go run main.gocd sahaay-desktop
npm install
npm run devBuilt to keep people connected when they need it most.