Near Chat is a zero-latency off-grid communication framework. Powered by local Bluetooth & Wi-Fi cluster mesh technology, it guarantees end-to-end encrypted messaging, media sharing, and instant discovery with zero internet connectivity.
Using the native **Nearby Connections API** P2P Cluster strategy, Near Chat sets up ad-hoc high-bandwidth nodes using Bluetooth Low Energy (BLE) for discovery and Wi-Fi Direct for high-speed file streams. It functions entirely without central routing servers or public internet gateways.
All network frames are encrypted using symmetric AES-256-GCM. Session keys are derived locally on each node from the shared Room Code using PBKDF2 with SHA-256 HMAC (100,000 iterations), ensuring no keys are ever transmitted over the air.
Near Chat implements a strictly volatile memory design. All messages, images, and session activities are stored in device RAM. The second a user leaves the room or kills the app, all logs are wiped permanently with zero storage trace.
Skip manual text entry. The integrated high-speed camera QR code scanner allows peers to share and scan room codes instantly, initiating cryptographic handshakes and cluster joining in under a second.
Triggered via the device's accelerometer. An immediate physical shake activates panic mode—instantly spinning up a secure room, generating a unique code, copying it to clipboard, and initiating active beacons.
Resolves Nearby Connections error `8012` where two devices request connections simultaneously. Near Chat runs a deterministic lexicographical name match to choose the connection initiator.
Intermittent radio links are managed by intelligent local queues. Outbox frames are cached locally during disconnection and automatically flushed once node connections re-establish.
Maintains stable socket listeners when minimized by running as a persistent Android Foreground Service. Delivers instant local heads-up notifications for room signals.
Explore the functional UI screens of Near Chat, highlighting real-time security, setup speeds, and chat simplicity.
Click below to inspect the custom JSON frames transmitted inside the encrypted AES-GCM envelope.
// Standard chat message transmission frame.
Loading spec...
Near Chat is compiled to run on Android 8.0 and above. Download the APK directly from our verified Google Drive deposit and connect securely to your peers.