diff --git a/Cargo.lock b/Cargo.lock
index 34e3ef9..be95135 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1970,7 +1970,7 @@ dependencies = [
[[package]]
name = "iroh-doctor"
-version = "0.1.0"
+version = "0.31.0"
dependencies = [
"anyhow",
"async-channel",
diff --git a/Cargo.toml b/Cargo.toml
index ab81171..2eb020c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "iroh-doctor"
-version = "0.1.0"
+version = "0.31.0"
edition = "2021"
readme = "README.md"
description = "Diagnose and test iroh in your network configuration"
diff --git a/README.md b/README.md
index 710628c..d5bb349 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,16 @@
-

+
-A toolkit for building distributed applications
+Test your network.
-[](https://docs.rs/iroh/)
-[](https://crates.io/crates/iroh)
-[](https://crates.io/crates/iroh)
+[](https://docs.rs/iroh-doctor/)
+[](https://crates.io/crates/iroh-doctor)
+[](https://crates.io/crates/iroh-doctor)
[](https://discord.com/invite/DpmJgtU7cW)
[](https://www.youtube.com/@n0computer)
[](LICENSE-MIT)
[](LICENSE-APACHE)
-[](https://github.com/n0-computer/iroh/actions/workflows/ci.yml)
@@ -30,35 +29,43 @@ A toolkit for building distributed applications
-## Features
-
-- Documents - Authors create and join documents: mutable key-value stores that multiple users read from, write to, and sync with, subscribing to live updates in real time.
-- Blobs - Iroh works with content-addressed blobs of opaque data, which are often the bytes of a file.
-- Networking - At the core of iroh is the ability to connect any two devices, no matter where they are.
-
## Overview
-Iroh is a protocol for syncing & moving bytes. Bytes of any size, on any device. At its core, it's a peer-2-peer network built on a _magic socket_ that establishes [QUIC](https://en.wikipedia.org/wiki/QUIC) connections between peers. Peers request and provide _blobs_ of opaque bytes that are incrementally verified by their BLAKE3 hash during transfer.
+iroh-doctor is a tool used for diagnosing network issues with [iroh](https://github.com/n0-computer/iroh).
## Getting Started
-Iroh is delivered as a Rust library and a CLI.
-
-### Library
+Run `cargo install iroh-doctor` or build from source.
-Run `cargo add iroh`, to add `iroh` to your project.
+```shell
+Usage: iroh-doctor [OPTIONS]
-### CLI
+Commands:
+ report Report on the current network environment, using either an explicitly provided stun host or the settings from the config file
+ accept Wait for incoming requests from iroh doctor connect
+ connect Connect to an iroh doctor accept node
+ port-map-probe Probe the port mapping protocols
+ port-map Attempt to get a port mapping to the given local port
+ relay-urls Get the latencies of the different relay url
+ plot Plot metric counters
+ help Print this message or the help of the given subcommand(s)
-Check out https://iroh.computer/docs/install to get started.
+Options:
+ --config
+ Path to the configuration file, see https://iroh.computer/docs/reference/config
-The implementation lives in the `iroh-cli` crate.
+ --metrics-addr
+ Address to serve metrics on. Disabled by default
-### Links
+ --metrics-dump-path
+ Write metrics in CSV format at 100ms intervals. Disabled by default
-- [Introducing Iroh (video)](https://www.youtube.com/watch?v=RwAt36Xe3UI_)
-- [Iroh Examples](https://github.com/n0-computer/iroh-examples)
+ -h, --help
+ Print help (see a summary with '-h')
+ -V, --version
+ Print version
+```
## License