every.channel/evolution/proposals/ECP-0015-gossip-announce-toggle.md
2026-02-15 16:17:27 -05:00

23 lines
1.1 KiB
Markdown

# ECP-0015: Gossip announce toggle and bootstrap peers
## Status
Draft
## Context
Sharing a stream should optionally announce it into the global catalog so other nodes can discover it. Today gossip requires explicit peers, and there is no UI surface for managing announcements.
## Decision
Add an "Announce on share" toggle and a "Gossip peers" field to the viewer UI. When enabled, the app sends a catalog announcement over iroh-gossip immediately after a share begins. Peers can be supplied in-app or via `EVERY_CHANNEL_GOSSIP_PEERS` (comma-separated).
## Details
- `start_moq_publish` accepts `announce` and `gossip_peers`.
- If `announce` is true and no peers are provided, we fall back to `EVERY_CHANNEL_GOSSIP_PEERS`.
- The share card surfaces announce status (announced / error).
## Consequences
- Announcements remain opt-in and require at least one peer.
- Users can keep their share local by leaving announce off.
## Follow-ups
- Add local peer discovery via mDNS to remove manual peer entry for LANs.
- Add public bootstrap peer lists and relay selection once governance approves.