Open web · Protocols
Decentralized networking foundations
Six modules from “why not only HTTP?” to WebRTC, PeerJS, IPFS, Nostr relays, and Web3 — the base vocabulary behind peer tabs, social protocols, and content-addressed files in the Coffee stack. Concept-first; you can build labs on top later.
Work through in order or jump to a topic; each page has prev/next links at the bottom.
The default web & the peer gap
Client–server · NAT · Why browsers need help to talk peer-to-peer
WebRTC — real-time in the browser
STUN/TURN · Signaling · Data channels · Security model
PeerJS & peer abstractions
Peer IDs · Broker server · When libraries beat raw SDP
IPFS & content addressing
CIDs · DAG · Pinning · Gateways vs running a node
Nostr — events & relays
Notes & kinds · Relays as dumb pipes · Coffee Social angle
Web3, chains & how the pieces compare
Wallets · Smart contracts · vs IPFS/Nostr/WebRTC · Recap map
In this repo
Coffee Social and related surfaces touch Nostr-shaped ideas; home cloud and P2P demos may use WebRTC or IPFS later. This track names the plumbing so docs and code stay aligned.
COFFEE-CONNECT (social / relay experiments)