bstkchat 2.1.2__tar.gz → 2.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,70 @@
1
+ Metadata-Version: 2.4
2
+ Name: bstkchat
3
+ Version: 2.2.0
4
+ Summary: A real-time Terminal-based Chatting Application using unique room IDs.
5
+ Author: BSTK Developers
6
+ Project-URL: Homepage, https://github.com/BTKcreations/BSTKCHAT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Environment :: Console
11
+ Requires-Python: >=3.7
12
+ Description-Content-Type: text/markdown
13
+ Requires-Dist: paho-mqtt>=1.6.1
14
+ Requires-Dist: rich>=13.0.0
15
+ Requires-Dist: prompt-toolkit>=3.0.0
16
+ Requires-Dist: cryptography>=41.0.0
17
+ Dynamic: author
18
+ Dynamic: requires-python
19
+
20
+ # **BSTK Chat (bstkchat)**
21
+
22
+ 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.
23
+
24
+ ## **Features**
25
+
26
+ * **Zero Configuration**: Connects instantly to a public MQTT infrastructure—no servers to set up or configure!
27
+ * **End-to-End Encryption (E2EE)**: Optional room-password encryption using scrypt key derivation and AES-256-GCM authenticated encryption with per-message random nonces.
28
+ * **Modern Terminal UI/UX**: Non-blocking input with `prompt_toolkit`, live bottom status bar, slash-command & `@mention` autocomplete, command history, and Rich Markdown rendering.
29
+ * **Memorable Auto-Rooms**: If you don't supply a Room ID, the app generates a fun phonetic key like `quantum-beacon-55`.
30
+ * **Deterministic Color Codes**: Users are automatically allocated consistent text colors based on their username.
31
+ * **Private DMs, Mentions & Logging**: Send encrypted DMs (`/msg`), receive audio/highlight alerts on `@mentions`, and save sanitized local logs to `~/.bstkchat/logs/`.
32
+
33
+ ## **Installation**
34
+
35
+ ### **Method 1: Local Pip installation (Recommended)**
36
+
37
+ 1. Save the generated setup.py and bstkchat/cli.py files to your computer under a directory layout like this:
38
+ my-chat-app/
39
+ ├── setup.py
40
+ └── bstkchat/
41
+ ├── \_\_init\_\_.py (this can be empty)
42
+ └── cli.py
43
+
44
+ 2. Navigate into the parent directory my-chat-app and execute:
45
+ pip install .
46
+
47
+ 3. Once completed, simply run the global cli application from anywhere:
48
+ bstkchat
49
+
50
+ ### **Method 2: Running directly from Python**
51
+
52
+ If you do not want to install it as a system CLI tool, install dependencies and run:
53
+
54
+ pip install paho-mqtt rich prompt-toolkit
55
+ python \-m bstkchat.cli
56
+
57
+ ## **Slash Commands inside BSTK Chat**
58
+
59
+ | Command | Action |
60
+ | :---- | :---- |
61
+ | `/help` | Displays a formatted table listing all commands |
62
+ | `/room <id> [pass]` | Switches rooms and optionally enables AES-256-GCM E2EE with a password |
63
+ | `/nick <name>` | Renames your user identity inside the room and alerts others |
64
+ | `/msg <user> <msg>` | Sends an encrypted private direct message (DM) to a user |
65
+ | `/status <text>` | Sets a custom status message (e.g., `AFK`, `Coding`) |
66
+ | `/who` or `/users` | Lists all online participants active inside your room |
67
+ | `/log [on\|off]` | Toggles session logging or shows the current log file path |
68
+ | `/clear` | Wipes the active console screen |
69
+ | `/exit` or `/quit` | Gracefully announces leave status and exits the CLI |
70
+
@@ -0,0 +1,51 @@
1
+ # **BSTK Chat (bstkchat)**
2
+
3
+ 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.
4
+
5
+ ## **Features**
6
+
7
+ * **Zero Configuration**: Connects instantly to a public MQTT infrastructure—no servers to set up or configure!
8
+ * **End-to-End Encryption (E2EE)**: Optional room-password encryption using scrypt key derivation and AES-256-GCM authenticated encryption with per-message random nonces.
9
+ * **Modern Terminal UI/UX**: Non-blocking input with `prompt_toolkit`, live bottom status bar, slash-command & `@mention` autocomplete, command history, and Rich Markdown rendering.
10
+ * **Memorable Auto-Rooms**: If you don't supply a Room ID, the app generates a fun phonetic key like `quantum-beacon-55`.
11
+ * **Deterministic Color Codes**: Users are automatically allocated consistent text colors based on their username.
12
+ * **Private DMs, Mentions & Logging**: Send encrypted DMs (`/msg`), receive audio/highlight alerts on `@mentions`, and save sanitized local logs to `~/.bstkchat/logs/`.
13
+
14
+ ## **Installation**
15
+
16
+ ### **Method 1: Local Pip installation (Recommended)**
17
+
18
+ 1. Save the generated setup.py and bstkchat/cli.py files to your computer under a directory layout like this:
19
+ my-chat-app/
20
+ ├── setup.py
21
+ └── bstkchat/
22
+ ├── \_\_init\_\_.py (this can be empty)
23
+ └── cli.py
24
+
25
+ 2. Navigate into the parent directory my-chat-app and execute:
26
+ pip install .
27
+
28
+ 3. Once completed, simply run the global cli application from anywhere:
29
+ bstkchat
30
+
31
+ ### **Method 2: Running directly from Python**
32
+
33
+ If you do not want to install it as a system CLI tool, install dependencies and run:
34
+
35
+ pip install paho-mqtt rich prompt-toolkit
36
+ python \-m bstkchat.cli
37
+
38
+ ## **Slash Commands inside BSTK Chat**
39
+
40
+ | Command | Action |
41
+ | :---- | :---- |
42
+ | `/help` | Displays a formatted table listing all commands |
43
+ | `/room <id> [pass]` | Switches rooms and optionally enables AES-256-GCM E2EE with a password |
44
+ | `/nick <name>` | Renames your user identity inside the room and alerts others |
45
+ | `/msg <user> <msg>` | Sends an encrypted private direct message (DM) to a user |
46
+ | `/status <text>` | Sets a custom status message (e.g., `AFK`, `Coding`) |
47
+ | `/who` or `/users` | Lists all online participants active inside your room |
48
+ | `/log [on\|off]` | Toggles session logging or shows the current log file path |
49
+ | `/clear` | Wipes the active console screen |
50
+ | `/exit` or `/quit` | Gracefully announces leave status and exits the CLI |
51
+
File without changes