Skip to content

Commit 92ffb28

Browse files
committed
Update README with global chat documentation
1 parent b9bd5c9 commit 92ffb28

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,18 @@ It counts. That's the main thing.
164164
**New:** A completely decentralized, ephemeral chat system built directly on top of the swarm topology.
165165

166166
* **Ephemeral:** No database. No history. If you refresh, it's gone.
167-
* **Restricted:** You can only talk to your ~32 direct connections.
167+
* **Restricted (Default):** You can only talk to your ~32 direct connections.
168+
* **Global Mode:** Use `/global on` to broadcast messages to the entire swarm (relayed via gossip).
168169
* **Chaotic:** Every 30 seconds, the network rotates your connections. You might be mid-sentence and—*poof*—your audience changes.
169170
* **Anonymous:** You are identified only by the last 4 characters of your node ID.
170171

171172
To enable this feature, set `ENABLE_CHAT=true`.
172173

174+
**Commands:**
175+
* `/global on` - Enable global chat mode.
176+
* `/global off` - Disable global chat mode (local only).
177+
* `/global <message>` - Send a single message to the global swarm without switching modes.
178+
173179
## » Usage
174180

175181
Open your browser to: `http://localhost:3000`

0 commit comments

Comments
 (0)