← Discover
GitHub · n0-computer/iroh

Switch-based flexible network connections

Iroh is a modular networking stack that makes network connections more flexible by using key-based addressing instead of IP addresses. Developed with the Rust language, this tool provides an infrastructure that is resistant to network interruptions and provides direct data transfer.

Updates

  • October 22, 2026: Stars 12,781 → 12,792, latest release v1.4.1 (October 22, 2026).
  • October 21, 2026: Stars 12,610 → 12,781, latest release v1.4.0 (October 20, 2026).
  • September 29, 2026: Stars 12,490 → 12,610, latest release v1.3.0 (September 28, 2026).
  • September 12, 2026: Stars 12,327 → 12,490, latest release v1.2.0 (September 11, 2026).

What you get

  • Connecting via public key instead of IP addresses
  • Automatic hole-punching for direct data transfer
  • QUIC-based secure and encrypted communication

Installation

Add via Cargo (to Rust project)
cargo add iroh
Install iroh CLI
cargo install iroh
macOS (Homebrew)
brew install nogo/tap/iroh

Running it

Show Node ID (CLI)
iroh node id

If you don't write code

Paste this into your AI agent (Claude Code · Codex · Antigravity)

I want to set up a switch-based network connection using the Iroh library. Can you create a basic example code structure that shows how I can create an endpoint in Rust, connect to another endpoint via public key, and initiate secure data flow with the QUIC protocol?

Repository: https://github.com/n0-computer/iroh. Follow the official instructions in the README of this repository for setup and execution.

Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.

Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.

Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.

Related dictionary terms

Who it is forIt is designed for Rust developers who want to establish direct and uninterrupted network connections.
LicenseApache-2.0

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-06-17: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.