iroh — P2P-соединения без сервера-посредника

★ 12.1K

iroh is a library for direct peer-to-peer connections between devices: you "dial" a node by its public key, and iroh finds the shortest route and, when needed, hole-punches through NAT to establish a direct QUIC connection. Reach for it when your app needs to link two devices directly, without your own relay server: transfer data between clients, sync, and build distributed and local networks where addresses and NAT get in the way. Connections run over QUIC (encryption, stream multiplexing), and addressing is by keys, not IPs. Its focus is a foundation for p2p connectivity in your apps (dial-by-public-key + direct QUIC with NAT traversal), not a ready VPN or a tunnel to expose a service outward (frp/bore for that): the value is reliably connecting devices directly where a central server is usually required. It is a developer library (primarily Rust, with bindings).