9 breaking releases
Uses new Rust 2024
| new 0.10.0 | Feb 11, 2026 |
|---|---|
| 0.8.0 | Dec 5, 2025 |
| 0.7.0 | Nov 25, 2025 |
| 0.2.0 | Jul 31, 2025 |
#15 in #hole-punching
681 downloads per month
Used in iroh-doctor
71KB
1.5K
SLoC
iroh-n0des is the client side of interacting with n0des. n0des gives visibility into a running iroh network by pushing metrics aggregations from iroh endpoints into a central hub for monitoring.
Typical setup looks something like this:
use iroh::Endpoint;
use iroh_n0des::Client;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let endpoint = Endpoint::bind().await?;
// needs N0DES_API_SECRET set to an environment variable
// client will now push endpoint metrics to n0des.
let client = Client::builder(&endpoint)
.api_secret_from_env()?
.build()
.await?;
// we can also ping the service just to confirm everything is working
client.ping().await?;
Ok(())
}
iroh-n0des
An iroh protocol to interact with n0des, using iroh itself.
License
Copyright 2025 N0, INC.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~46–86MB
~1.5M SLoC