permissionlesstech/bitchat

▲ 215 stars today★ 36,426⑂ 5,775

bluetooth mesh chat, IRC vibes

About permissionlesstech/bitchat

permissionlesstech/bitchat is an open-source project on GitHub, mainly written in Swift. bluetooth mesh chat, IRC vibes It currently holds 36,426 stars and 5,775 forks with 146 open issues, and was last pushed on 2026-10-04 (repository created 2025-07-04).

Project Overview

Git Homed tracks it on the Today's Trending board.

GitHub Repository Details

Repository permissionlesstech/bitchat · default branch main · size 116265 KB · watchers 303 · source: GitHub REST API and repository README

README

https://github.com/permissionlesstech/bitchat/blob/HEAD/icon_128x128@2x

bitchat

A decentralized peer-to-peer messaging app with dual transport architecture: local Bluetooth mesh networks for offline communication and internet-based Nostr protocol for global reach. No accounts, no phone numbers, no central servers. It's the side-groupchat.

bitchat.free

📲 App Store

📲 Play Store

Getting a copy you can trust

Install from the App Store, or build from source you have verified. A compiled build from anywhere else cannot be verified — see Verifying bitchat for how to check source against the per-release hash manifest, and for what to do if that is the only build you can get.

This matters more than it usually would: this repository has been the target of takedown demands, and when a repository or releases page disappears, mirrors appear that nobody can check.

License

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

Features

Technical Architecture

BitChat uses a hybrid messaging architecture with two complementary transport layers:

Bluetooth Mesh Network (Offline)

Nostr Protocol (Internet)

BitChat's private-envelope format is proprietary and is not NIP-17, NIP-44, or NIP-59 compatible. It uses Nostr as a relay transport but only interoperates with BitChat clients: private payloads travel inside kind-1059 events whose v2:-prefixed content is a BitChat-specific XChaCha20-Poly1305 construction, not NIP-44 encryption.

Channel Types

mesh #bluetooth

Location Channels (block #dr5rsj7, neighborhood #dr5rs, country #dr)

Direct Message Routing

Private messages use intelligent transport selection:

1. Bluetooth First (preferred when available)

2. Nostr Fallback (when Bluetooth unavailable) 3. Smart Queuing (when neither available) For detailed protocol documentation, see the Technical Whitepaper.

Setup

Option 1: Using Xcode

open bitchat.xcodeproj

For a signed device build, create your ignored local configuration and replace the example team ID with your Apple Developer Team ID:

cp Configs/Local.xcconfig.example Configs/Local.xcconfig

Local.xcconfig.example derives unique app and App Group identifiers from that team ID. The entitlement files already reference $(APP_GROUP_ID), so tracked project or entitlement files do not need to be edited.

Useful command-line checks from the repository root:

# macOS Debug build without signing
xcodebuild -project bitchat.xcodeproj -scheme "bitchat (macOS)" \
  -configuration Debug CODE_SIGNING_ALLOWED=NO build

Full SwiftPM test suite

swift test

iOS simulator tests

xcodebuild -project bitchat.xcodeproj -scheme "bitchat (iOS)" \ -sdk iphonesimulator \ -destination 'platform=iOS Simulator,name=iPhone 17' test

If iPhone 17 is unavailable, choose an installed simulator from:

xcodebuild -showdestinations -project bitchat.xcodeproj -scheme "bitchat (iOS)"

Option 2: Using just

brew install just
just check
just run

just build and just run use the current bitchat (macOS) scheme and keep Xcode output in the ignored .DerivedData/ directory. They never patch source, project, configuration, or entitlement files.

just clean removes only .DerivedData/ and .build/. It does not invoke Git or restore tracked files, so uncommitted work is preserved. just test runs the SwiftPM suite and just test-ios runs the iPhone 17 simulator suite.

Localization

GitHub Stars & Activity

36,426Stars
5,775Forks
146Open issues
SwiftLanguage

GitHub Popularity

GitHub stars36,426
Forks5,775
Open issues146
Primary languageSwift
LicenseUnlicense
Stars gained today215
Created2025-07-04
Last pushed2026-10-04

Trending History

Weekly boardrank #95 · ▲ 215 stars

Related GitHub Projects

1

jaywcjlove / awesome-mac

Swift★ 115,637⑂ 9,226▲ 81 stars
→
2

manaflow-ai / cmux

Swift★ 28,031⑂ 2,471▲ 270 stars
→
3

steipete / CodexBar

Swift★ 22,321⑂ 2,080▲ 47 stars
→
4

Lakr233 / vphone-cli

Swift★ 15,048⑂ 1,778▲ 61 stars
→
5

LiveContainer / LiveContainer

Swift★ 12,695⑂ 1,070▲ 26 stars
→
6

openai / tart

Swift★ 7,424⑂ 400▲ 34 stars
→
7

HD838A / remote-mic-app

Swift★ 1,684⑂ 190▲ 89 stars
→
8

jithin-sabu / purge-app

Swift★ 1,086⑂ 57▲ 26 stars
→

More Trending Repositories