在终端中进行安全、匿名的点对点 (P2P) 蓝牙聊天。使用 Rust 构建的离网加密 TUI 即时通讯工具。
A modern Terminal User Interface (TUI) client for BitChat, a secure, anonymous, and peer-to-peer chat protocol that runs over Bluetooth Low Energy (BLE). Communicate completely off-grid with end-to-end encryption, public channels, and direct messaging, all from your terminal.
Watch bitchat-tui in action! See how easy it is to use secure, anonymous Bluetooth messaging with our intuitive terminal interface.
https://github.com/user-attachments/assets/9b5ad6f4-2d90-41d4-8344-ba7c8108b2a2
The easiest way to install bitchat-tui on Linux, macOS, or Windows:
curl -sSfL https://raw.githubusercontent.com/vaibhav-mattoo/bitchat-tui/main/install.sh | shThis script will automatically detect your system and install the appropriate binary for your platform.
[!NOTE] Remember to add
~/.local/binto your$PATHif prompted by the install script, by addingexport PATH="$HOME/.local/bin:$PATH"at the end of your shell config file (~/.bashrc, ~/.zshrc, etc).
cargo install bitchat-tui[!NOTE] If you are on Windows and get
linker link.exe not foundorthe msvc targets depend on the msvc linker but link.exe was not foundthen you need to download Microsoft Visual C++ Build Tools. Go to https://visualstudio.microsoft.com/visual-cpp-build-tools/ download the installer for your version, during installation check the box "Desktop development with C++" and reboot after the install completes.
brew tap vaibhav-mattoo/bitchat-tui
brew install bitchat-tuiUsing yay or paru:
yay -S bitchat-tui
# or
paru -S bitchat-tuigit clone https://github.com/vaibhav-mattoo/bitchat-tui.git
cd bitchat-tui
cargo install --path .[!NOTE] Building from source requires Rust to be installed on your system. This method works on Linux, macOS, and Windows.
Launch the BitChat TUI client directly from your terminal:
bitchat-tuiThe app will immediately start scanning for other BitChat users. Once a peer is found, it will connect automatically and you'll be placed in the #public chat room.
[!IMPORTANT] If you see "Found bitchat service! Connecting..." but the device doesn't respond in time, you can retry the connection by pressing
ron the error screen, or exit withCtrl+Cand run the app again.
Type messages in the input box and press Enter to send. Use /help to see a list of all available commands.
The Terminal User Interface (TUI) is designed for intuitive keyboard-only operation and provides a modern, responsive interface for the BitChat protocol.
Tab: Switch focus between the Sidebar, Main Panel, and Input Box.↑ / ↓: Navigate lists in the sidebar or scroll through messages in the main panel.Enter:Ctrl+C: Exit the application.PgUp / PgDn: Page up/down through the chat history in the main panel.Home / End: Jump to the start/end of the chat history.r (on error screen): Attempt to reconnect.Type these commands into the input box to manage your chat experience.
/help: Displays a list of all available commands./name : Changes your nickname for the current session./status: Shows connection information and current status./clear: Clears all messages from the current conversation view./exit: Quits the application./public: Returns to the public chat room./dm [message]: Starts a private Direct Message with a user. Optionally sends an initial message./reply: Quick reply to the last person who sent you a private message./j # [password]: Joins a channel. If the channel is password-protected, provide the password./leave: Leaves the current channel and returns you to #public./pass : Sets a password for a channel you created (owner only)./transfer @: Transfers channel ownership to another user (owner only)./channels: Lists all channels you have discovered or joined./online or /w: Lists all users currently visible on the network./block @: Blocks all messages from a specific user./block: Lists all currently blocked users./unblock @: Unblocks a previously blocked user.The TUI provides several visual indicators to keep you informed:
BitChat is built with security and privacy as a first principle. All communication is protected by a modern cryptographic stack.
BitChat is perfect for any situation where you need to communicate without relying on internet infrastructure. This TUI client makes it easy to use BitChat from any terminal environment.
We welcome contributions from the community! Help us improve bitchat-tui by:
To get started, fork the repository, create a feature branch, and submit a pull request.
To uninstall bitchat-tui and remove its configuration files, you can run the universal uninstall script:
curl -sSfL https://raw.githubusercontent.com/vaibhav-mattoo/bitchat-tui/main/uninstall.sh | shOr download and run the script manually:
curl -sSfL https://raw.githubusercontent.com/vaibhav-mattoo/bitchat-tui/main/uninstall.sh -o uninstall.sh
chmod +x uninstall.sh
./uninstall.shThis project is licensed under the MIT License - see the LICENSE file for details.
暂无开放 Issues,或尚未同步最近议题。