Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Security cameras are finally part of the Matter standard

    Black Friday power bank deals: What to expect and early sales

    Black Friday laptop deals: What to expect and early sales

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Insurance companies are trying to avoid big payouts by making AI safer

      November 19, 2025

      State and local opposition to new data centers is gaining steam, study shows

      November 15, 2025

      Amazon to lay off 14,000 corporate employees

      October 29, 2025

      Elon Musk launches Grokipedia as an alternative to ‘woke’ Wikipedia

      October 29, 2025

      Fears of an AI bubble are growing, but some on Wall Street aren’t worried just yet

      October 18, 2025
    • Business

      Windows 11 gets new Cloud Rebuild, Point-in-Time Restore tools

      November 18, 2025

      Government faces questions about why US AWS outage disrupted UK tax office and banking firms

      October 23, 2025

      Amazon’s AWS outage knocked services like Alexa, Snapchat, Fortnite, Venmo and more offline

      October 21, 2025

      SAP ECC customers bet on composable ERP to avoid upgrading

      October 18, 2025

      Revenue generated by neoclouds expected to exceed $23bn in 2025, predicts Synergy

      October 15, 2025
    • Crypto

      Nvidia Posts $57B Record Revenue with Bitcoin Rebounding Above $91K

      November 20, 2025

      3 Reasons Why A Cardano Price Rebound Looks Likely

      November 20, 2025

      BitMine (BMNR) Stock Bounces As Q4 Results Near — Is the Price Preparing Another Early Move?

      November 20, 2025

      Fed Minutes Reveal December Rate Cut on a Knife’s Edge, Bitcoin Slips Below $89,000

      November 20, 2025

      TRUMP Price Holds Above $7, Even As Epstein Files Release Approved

      November 20, 2025
    • Technology

      Security cameras are finally part of the Matter standard

      November 20, 2025

      Black Friday power bank deals: What to expect and early sales

      November 20, 2025

      Black Friday laptop deals: What to expect and early sales

      November 20, 2025

      Experts: Black Friday 2025 could be your last chance for cheap PC deals

      November 20, 2025

      I love my mini PC, but I still want to buy a tower PC. Here’s why

      November 20, 2025
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
    Technology

    Bitchat – A decentralized messaging app that works over Bluetooth mesh networks

    TechAiVerseBy TechAiVerseJuly 7, 2025No Comments3 Mins Read2 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    Bitchat – A decentralized messaging app that works over Bluetooth mesh networks

    bitchat

    A secure, decentralized, peer-to-peer messaging app that works over Bluetooth mesh networks. No internet required, no servers, no phone numbers – just pure encrypted communication.

    License

    This project is released into the public domain. See the LICENSE file for details.

    Features

    • Decentralized Mesh Network: Automatic peer discovery and multi-hop message relay over Bluetooth LE
    • End-to-End Encryption: X25519 key exchange + AES-256-GCM for private messages
    • Room-Based Chats: Topic-based group messaging with optional password protection
    • Store & Forward: Messages cached for offline peers and delivered when they reconnect
    • Privacy First: No accounts, no phone numbers, no persistent identifiers
    • IRC-Style Commands: Familiar /join, /msg, /who style interface
    • Message Retention: Optional room-wide message saving controlled by room owners
    • Universal App: Native support for iOS and macOS
    • Cover Traffic: Timing obfuscation and dummy messages for enhanced privacy
    • Emergency Wipe: Triple-tap to instantly clear all data
    • Performance Optimizations: LZ4 message compression, adaptive battery modes, and optimized networking

    Setup

    Option 1: Using XcodeGen (Recommended)

    1. Install XcodeGen if you haven’t already:

    2. Generate the Xcode project:

      cd bitchat
      xcodegen generate
    3. Open the generated project:

    Option 2: Using Swift Package Manager

    1. Open the project in Xcode:

      cd bitchat
      open Package.swift
    2. Select your target device and run

    Option 3: Manual Xcode Project

    1. Open Xcode and create a new iOS/macOS App
    2. Copy all Swift files from the bitchat directory into your project
    3. Update Info.plist with Bluetooth permissions
    4. Set deployment target to iOS 16.0 / macOS 13.0

    Usage

    Basic Commands

    • /j #room – Join or create a room
    • /m @user message – Send a private message
    • /w – List online users
    • /rooms – Show all discovered rooms
    • /clear – Clear chat messages
    • /pass [password] – Set/change room password (owner only)
    • /transfer @user – Transfer room ownership
    • /save – Toggle message retention for room (owner only)

    Getting Started

    1. Launch bitchat on your device
    2. Set your nickname (or use the auto-generated one)
    3. You’ll automatically connect to nearby peers
    4. Join a room with /j #general or start chatting in public
    5. Messages relay through the mesh network to reach distant peers

    Room Features

    • Password Protection: Room owners can set passwords with /pass
    • Message Retention: Owners can enable mandatory message saving with /save
    • @ Mentions: Use @nickname to mention users (with autocomplete)
    • Ownership Transfer: Pass control to trusted users with /transfer

    Security & Privacy

    Encryption

    • Private Messages: X25519 key exchange + AES-256-GCM encryption
    • Room Messages: Argon2id password derivation + AES-256-GCM
    • Digital Signatures: Ed25519 for message authenticity
    • Forward Secrecy: New key pairs generated each session

    Privacy Features

    • No Registration: No accounts, emails, or phone numbers required
    • Ephemeral by Default: Messages exist only in device memory
    • Cover Traffic: Random delays and dummy messages prevent traffic analysis
    • Emergency Wipe: Triple-tap logo to instantly clear all data
    • Local-First: Works completely offline, no servers involved

    Performance & Efficiency

    Message Compression

    • LZ4 Compression: Automatic compression for messages >100 bytes
    • 30-70% bandwidth savings on typical text messages
    • Smart compression: Skips already-compressed data

    Battery Optimization

    • Adaptive Power Modes: Automatically adjusts based on battery level
      • Performance mode: Full features when charging or >60% battery
      • Balanced mode: Default operation (30-60% battery)
      • Power saver: Reduced scanning when <30% battery
      • Ultra-low power: Emergency mode when <10% battery
    • Background efficiency: Automatic power saving when app backgrounded
    • Configurable scanning: Duty cycle adapts to battery state

    Network Efficiency

    • Optimized Bloom filters: Faster duplicate detection with less memory
    • Message aggregation: Batches small messages to reduce transmissions
    • Adaptive connection limits: Adjusts peer connections based on power mode

    Technical Architecture

    Binary Protocol

    bitchat uses an efficient binary protocol optimized for Bluetooth LE:

    • Compact packet format with 1-byte type field
    • TTL-based message routing (max 7 hops)
    • Automatic fragmentation for large messages
    • Message deduplication via unique IDs

    Mesh Networking

    • Each device acts as both client and peripheral
    • Automatic peer discovery and connection management
    • Store-and-forward for offline message delivery
    • Adaptive duty cycling for battery optimization

    For detailed protocol documentation, see the Technical Whitepaper.

    Building for Production

    1. Set your development team in project settings
    2. Configure code signing
    3. Archive and distribute through App Store or TestFlight

    Android Compatibility

    The protocol is designed to be platform-agnostic. An Android client can be built using:

    • Bluetooth LE APIs
    • Same packet structure and encryption
    • Compatible service/characteristic UUIDs
    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleThere’s a COMPUTER inside my DS flashcart [video]
    Next Article Show HN: A Language Server Implementation for SystemD Unit Files
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Security cameras are finally part of the Matter standard

    November 20, 2025

    Black Friday power bank deals: What to expect and early sales

    November 20, 2025

    Black Friday laptop deals: What to expect and early sales

    November 20, 2025
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025411 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025109 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 202575 Views

    Is Libby Compatible With Kobo E-Readers?

    March 31, 202555 Views
    Don't Miss
    Technology November 20, 2025

    Security cameras are finally part of the Matter standard

    Security cameras are finally part of the Matter standard Image: Ben Patterson/Foundry Smart bulbs, robot…

    Black Friday power bank deals: What to expect and early sales

    Black Friday laptop deals: What to expect and early sales

    Experts: Black Friday 2025 could be your last chance for cheap PC deals

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Security cameras are finally part of the Matter standard

    November 20, 20251 Views

    Black Friday power bank deals: What to expect and early sales

    November 20, 20250 Views

    Black Friday laptop deals: What to expect and early sales

    November 20, 20250 Views
    Most Popular

    Xiaomi 15 Ultra Officially Launched in China, Malaysia launch to follow after global event

    March 12, 20250 Views

    Apple thinks people won’t use MagSafe on iPhone 16e

    March 12, 20250 Views

    French Apex Legends voice cast refuses contracts over “unacceptable” AI clause

    March 12, 20250 Views
    © 2025 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.