BSTK Chat (bstkchat)
bstkchat is a real-time, terminal-based, zero-configuration collaborative chat client. Anyone who launches the client and joins using the same Room ID will instantly join a shared, encrypted-by-knowledge room to text and exchange thoughts.
Features
- Zero Configuration: Connects instantly to a public MQTT infrastructure—no servers to set up or configure!
- End-to-End Encryption (E2EE): Optional room-password encryption using scrypt key derivation and AES-256-GCM authenticated encryption with per-message random nonces.
- Modern Terminal UI/UX: Non-blocking input with
prompt_toolkit, live bottom status bar, slash-command &@mentionautocomplete, command history, and Rich Markdown rendering. - Memorable Auto-Rooms: If you don't supply a Room ID, the app generates a fun phonetic key like
quantum-beacon-55. - Deterministic Color Codes: Users are automatically allocated consistent text colors based on their username.
- Private DMs, Mentions & Logging: Send encrypted DMs (
/msg), receive audio/highlight alerts on@mentions, and save sanitized local logs to~/.bstkchat/logs/.
Installation
Method 1: Local Pip installation (Recommended)
-
Save the generated setup.py and bstkchat/cli.py files to your computer under a directory layout like this:
my-chat-app/
├── setup.py
└── bstkchat/
├── __init__.py (this can be empty)
└── cli.py -
Navigate into the parent directory my-chat-app and execute:
pip install . -
Once completed, simply run the global cli application from anywhere:
bstkchat
Method 2: Running directly from Python
If you do not want to install it as a system CLI tool, install dependencies and run:
pip install paho-mqtt rich prompt-toolkit
python -m bstkchat.cli
Slash Commands inside BSTK Chat
| Command | Action |
|---|---|
/help |
Displays a formatted table listing all commands |
/room <id> [pass] |
Switches rooms and optionally enables AES-256-GCM E2EE with a password |
/nick <name> |
Renames your user identity inside the room and alerts others |
/msg <user> <msg> |
Sends an encrypted private direct message (DM) to a user |
/status <text> |
Sets a custom status message (e.g., AFK, Coding) |
/who or /users |
Lists all online participants active inside your room |
/log [on|off] |
Toggles session logging or shows the current log file path |
/clear |
Wipes the active console screen |
/exit or /quit |
Gracefully announces leave status and exits the CLI |
Metadata
Release files for bstkchat 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bstkchat-2.2.0.tar.gz | 17.1 kB | Without provenance | Details for bstkchat-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bstkchat-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for bstkchat-2.2.0-py3-none-any.whl |
Total release size: 30.2 kB
Release files / bstkchat-2.2.0.tar.gz
| Download URL | bstkchat-2.2.0.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae13dc093db3f490025118dd911cb27ac0e85ca64ed7b6fd0f0e43e9ee17ec57
|
|
BLAKE2b-256 checksum How to use checksums |
d65211ec49e2c209fded73f77a0a69657a0fb3da3040fbbc4b47dfa33b64d307
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / bstkchat-2.2.0-py3-none-any.whl
| Download URL | bstkchat-2.2.0-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb95b23ab54a811fb2c24f600ed46921b12af6754a89694f77502445f6080af8
|
|
BLAKE2b-256 checksum How to use checksums |
d10716b3e39d3027386393c0a2402345bf33425a5602a4d5c70359e32a4234b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for bstkchat 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.