Decentralized P2P Mesh v1.0

GO
OFF-GRID
FOREVER.

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.

0.0ms
Server Overhead
AES-GCM
Local Encryption
P2P
Mesh Cluster
Near Chat Main Screen
Protocol Architecture

BUILT FOR ZERO INFRASTRUCTURE.

P2P Cluster Mesh Protocol

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.

Strategy: P2P_CLUSTER Service: com.jayanth.nearnode

AES-256-GCM Vault

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.

PBKDF2-HMAC-SHA256 (100k Iterations)

Zero-Retention Store

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.

QR-Code Instapair

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.

Shake to Broadcast

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.

Collision Tie-Breaker

Resolves Nearby Connections error `8012` where two devices request connections simultaneously. Near Chat runs a deterministic lexicographical name match to choose the connection initiator.

Offline Queue Sync

Intermittent radio links are managed by intelligent local queues. Outbox frames are cached locally during disconnection and automatically flushed once node connections re-establish.

Background Keep-Alive

Maintains stable socket listeners when minimized by running as a persistent Android Foreground Service. Delivers instant local heads-up notifications for room signals.

Developer Specification

CONTROL FRAME PROTOCOL

Click below to inspect the custom JSON frames transmitted inside the encrypted AES-GCM envelope.

payload_frame.json

// Standard chat message transmission frame.

Loading spec...

SECURE YOUR OFFLINE SPACE.

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.

Branding watermark