Repolode
n0-computer

n0-computer/iroh

A Rust library for connecting apps by public key, with QUIC transport, hole-punching and relay fallback.

Звёзды
12,779
Форки
778
Открытые issues
183
Последний коммит
6 часов назад

Что это?

Iroh lets applications dial a peer by its public key instead of an IP address. The library finds and maintains the best available route to the peer, first trying a direct connection through hole-punching and falling back to public relay servers when that fails.

Connections are built on QUIC through the noq library, which provides authenticated encryption, concurrent streams with priorities, a datagram transport, and avoids head-of-line blocking. Developers can write their own protocols on top of these connections.

The repository also offers pre-built protocols: iroh-blobs for BLAKE3 content-addressed transfer, iroh-gossip for publish-subscribe overlay networks, and iroh-docs for an eventually consistent key-value store. Bindings for other languages are maintained separately in iroh-ffi.

Ключевые возможности

  • 01Dial peers by public key rather than IP address
  • 02Direct connections via hole-punching with relay fallback
  • 03QUIC connections with encryption and multiplexed streams
  • 04Pre-built protocols for blob transfer, gossip and key-value docs
  • 05Public relay server implementation included in the workspace

Сценарии использования

  • Peer-to-peer apps that must connect devices behind NAT
  • Syncing files between devices without a central server
  • Building real-time messaging or pub-sub overlays between nodes

Темы

Частые вопросы

Что такое iroh?
A Rust library for connecting apps by public key, with QUIC transport, hole-punching and relay fallback. Iroh lets applications dial a peer by its public key instead of an IP address. The library finds and maintains the best available route to the peer, first trying a direct connection through hole-punching and falling back to public relay servers when that fails.
iroh можно использовать бесплатно? Какая у него лицензия?
iroh распространяется с открытым исходным кодом под лицензией Apache-2.0. Перед использованием в коммерческих продуктах проверьте условия лицензии.
iroh всё ещё поддерживается?
Активно поддерживается. Последний коммит в iroh — 19 окт. 2026 г..
Для чего можно использовать iroh?
Peer-to-peer apps that must connect devices behind NAT Syncing files between devices without a central server Building real-time messaging or pub-sub overlays between nodes
Где скачать iroh?
Исходный код и инструкции по установке — на GitHub: https://github.com/n0-computer/iroh

Описание создано ИИ на основе README проекта. Статистика GitHub обновляется ежедневно.

Похожие проекты