You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Bitchat application provides a simple command-line interface for real-time messaging over Bluetooth Low Energy with end-to-end encryption. Here's how to get started:
Starting the Application
# Build and run
mkdir build &&cd build
cmake ..
make
./bin/bitchat
Initial Setup
When you first start Bitchat, you'll see:
=== Bitchat Terminal Client ===
Connected! Type /help for commands.
Peer ID: 550e8400-e29b-41d4-a716-446655440000
Nickname: User_12345
Peer ID 🆔: Your unique device identifier
Nickname 👤: Your display name (auto-generated, can be changed)
Commands Reference
Basic Commands
Command
Description
Example
/help
Show available commands
/help
/exit
Exit the application
/exit
/clear
Clear the terminal screen
/clear
/status
Show current status
/status
Channel Management
Command
Description
Example
/j #channel
Join a specific channel
/j #random
/leave
Leave current channel
/leave
/channels
List available channels
/channels
User Management
Command
Description
Example
/nick NICKNAME
Change your nickname
/nick Alice
/w
Show people online in current channel
/w
/peers
Show all discovered peers
/peers
Messaging
Command
Description
Example
message
Send message to current channel
Hello, world!
/w USER message
Send private message
/w Bob Hi there!
/me action
Send action message
/me waves hello
Example Session
Here's a typical Bitchat session:
=== Bitchat Terminal Client ===
Connected! Type /help for commands.
Peer ID: 550e8400-e29b-41d4-a716-446655440000
Nickname: User_12345
> /help
Available commands:
/j #channel - Join channel
/nick NICK - Change nickname
/w - Show people online in current channel
/clear - Clear screen
/help - Show this help
/exit - Exit
Message - Send message to current channel
> /j #random
Joined channel: #random
> /nick Alice
Nickname changed to: Alice
> Hello, world!
[14:30:15] You: Hello, world!
[14:30:16] Bob: Hi Alice!
> /w
People online:
- Alice (you) (channel: #random)
- Bob (channel: #random) (RSSI: -45 dBm)
- Charlie (channel: #help) (RSSI: -67 dBm)
> /me waves hello
[14:30:20] * Alice waves hello
Features
Real-time Messaging 💬
Instant Delivery ⚡: Messages are delivered immediately to nearby devices
Channel Support 📢: Join different channels for organized conversations
Private Messages 🔒: Send direct messages to specific users
Action Messages 🎭: Use /me for roleplay and actions
Message Encryption 🔐: All messages are encrypted using Noise protocol