bitchat
bluetooth mesh chat, IRC vibes
Discover how BitChat coordinates CoreBluetooth callbacks using a dedicated queue and thread-safe state management for efficient mesh networking. Learn about BLEService's role in translating events.
BLE Components in the V3 Architecture: How Bitchat Structures Its Bluetooth StackExplore the BLE components in Bitchat's V3 architecture. Understand how BLELinkLayer, Mesh Engine, Feature Modules, and App Boundary ensure deadlock free deterministic mesh networking.
How BitChat Fragment Recovery Works for Stalled BLE Re‑assembliesLearn how BitChat fragment recovery tackles stalled BLE reassemblies. Discover its timestamp scanning, missing ID encoding, and peer retransmission solicitation for seamless data transfer.
Sync Configuration Parameters for BitChat's Gossip System: Complete GuideMaster BitChat's gossip system sync configuration. Discover essential parameters in TransportConfig.swift to optimize network efficiency and message propagation speed. Get the complete guide now.
How BitChat Implements Gossip-Based Synchronization: Protocol Deep DiveExplore how BitChat uses gossip-based synchronization with GCS filters for efficient decentralized mesh sync. Learn the protocol details and optimize message history diffing without full data transfers.
Understanding PeerHandle and ConversationID in BitChat: A Technical GuideDiscover the purpose of PeerHandle and ConversationID in BitChat. Learn how these elements ensure type-safe conversation identity and seamless private chats, even with changing network identifiers.
How AppEventStream Facilitates App-Level Events in BitChatLearn how AppEventStream in BitChat uses Swift actors and AsyncStream to create a type-safe, asynchronous broadcast for app-level events, decoupling layers.
The Role of AppRuntime in BitChat V2 Architecture: Centralized Composition RootDiscover how AppRuntime acts as the central composition root in BitChat V2, managing startup, lifecycle, notifications, and DI for the decentralized app.
How BitChat Handles Private Messages with Intelligent Transport SelectionDiscover how BitChat uses intelligent transport selection to securely route private messages via peer-to-peer, relay servers, or local mesh networks for optimal connectivity.
What Are the Three Categories of Channels Supported by BitChat?Discover the three BitChat channel categories: global Mesh, Geohash location, and private encrypted messages. Learn how BitChat secures your communications.
How BitChat Derives Ephemeral Cryptographic Identities: A Deep Dive into the NostrIdentityBridgeDiscover how BitChat derives ephemeral cryptographic identities using a device-wide seed and HMAC-SHA256. Learn about unlinkable, temporary Nostr keys for secure, session-only communication.
BitChat Private-Envelope Encryption Format for Nostr: Technical Architecture and ImplementationExplore BitChat's private-envelope encryption for Nostr. Learn its technical architecture, XChaCha20-Poly1305 implementation, and compatibility with Nostr event kinds.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →