Documentation
¶
Overview ¶
Command tiru-emba is a zero-configuration, LAN-only terminal chat client: peer discovery over UDP multicast/broadcast, direct messaging over TCP, and a Bubble Tea shell tying them together.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
discovery
Package discovery implements zero-configuration peer discovery over the local Wi-Fi network using IPv4 multicast heartbeats.
|
Package discovery implements zero-configuration peer discovery over the local Wi-Fi network using IPv4 multicast heartbeats. |
|
filedrop
Package filedrop resolves the shared directory every installed client saves accepted file transfers into.
|
Package filedrop resolves the shared directory every installed client saves accepted file transfers into. |
|
network
Package network implements direct one-to-one delivery over TCP, once a peer's address is known via discovery: plain text messages (one-shot: dial, write one envelope, close) and file transfers (stateful: dial, offer, wait for the human on the other end to accept or deny, then stream bytes only if accepted).
|
Package network implements direct one-to-one delivery over TCP, once a peer's address is known via discovery: plain text messages (one-shot: dial, write one envelope, close) and file transfers (stateful: dial, offer, wait for the human on the other end to accept or deny, then stream bytes only if accepted). |
|
notify
Package notify fires an OS desktop notification (with sound, where the platform supports it) for incoming messages.
|
Package notify fires an OS desktop notification (with sound, where the platform supports it) for incoming messages. |
|
peer
Package peer holds the in-memory view of who's currently online.
|
Package peer holds the in-memory view of who's currently online. |
|
store
Package store persists chat history to disk (one JSON object per line, under ~/.tiru-emba/history/<handle>.jsonl) so it survives an app restart or a lost network connection, not just the lifetime of the process.
|
Package store persists chat history to disk (one JSON object per line, under ~/.tiru-emba/history/<handle>.jsonl) so it survives an app restart or a lost network connection, not just the lifetime of the process. |
Click to show internal directories.
Click to hide internal directories.