25 lines
1.0 KiB
JSON
25 lines
1.0 KiB
JSON
{
|
|
"name": "chat",
|
|
"section": 1,
|
|
"title": "swarm text chat (bare-os-chat-v1)",
|
|
"synopsis": [
|
|
"chat",
|
|
"chat send TEXT",
|
|
"chat who",
|
|
"chat history [N]"
|
|
],
|
|
"description": "On a real TTY, opens a full-screen terminal UI (alternate buffer, like `edit`/`nano`): live transcript with subscribe + ring-buffer history, multi-line capable peer strip from `/proc/bare_os/chat.json` (swarm peer count, rx counters), single-line composer with arrow/Home/End editing, scroll with arrow keys or PgUp/PgDn, `^R` refresh metrics, `?` help, `^Q`/`^X`/Ctrl+C exit. Uses Protomux `bare-os-chat-v1` on existing Hyperswarm connections. Stock hosts pair chat by default; disable with `BARE_OS_PROTOMUX_CHAT_CHANNEL=0`. Scripting: `chat send`, `who`, `history` avoid the TUI.",
|
|
"options": [],
|
|
"keywords": ["chat", "swarm", "bare-os", "tui"],
|
|
"examples": [
|
|
{
|
|
"caption": "full-screen chat TUI",
|
|
"code": "chat"
|
|
},
|
|
{
|
|
"caption": "single line (no TTY)",
|
|
"code": "chat send hello swarm"
|
|
}
|
|
]
|
|
}
|