← Leaderboard

n0-computer/iroh

View on GitHub ↗
Internal82

Unique within the repo — the other 18% repeats across its own files.

Public62

Unique across all public code — a further 20% is its own but appears in other public repos too.

Tidy, but not new — the code doesn't repeat itself, yet a large share already exists across other public repos. A strong candidate for pulling from (or publishing as) a shared package.

Worth consolidating — in the code

Real, actionable duplication in this repo's source, most concrete first.

Top duplication hotspots

SimilarityOverlapFile AFile BCross-repo
10% 498 n0-computer/iroh/iroh-relay/src/server.rs n0-computer/iroh/iroh-relay/src/server/http_server.rs same repo
63% 375 n0-computer/iroh/iroh/bench/src/iroh.rs n0-computer/iroh/iroh/bench/src/noq.rs same repo
7% 308 n0-computer/iroh/iroh-relay/src/main.rs n0-computer/iroh/iroh-relay/src/server.rs same repo
8% 283 n0-computer/iroh/iroh-relay/src/quic.rs n0-computer/iroh/iroh-relay/src/server/http_server.rs same repo
14% 261 n0-computer/iroh/iroh-relay/src/server/client.rs n0-computer/iroh/iroh-relay/src/server/clients.rs same repo
6% 217 n0-computer/iroh/iroh-relay/src/server/client.rs n0-computer/iroh/iroh-relay/src/server/http_server.rs same repo
5% 198 n0-computer/iroh/iroh-relay/src/quic.rs n0-computer/iroh/iroh-relay/src/server.rs same repo
4% 190 n0-computer/iroh/iroh-relay/src/main.rs n0-computer/iroh/iroh-relay/src/server/http_server.rs same repo
10% 189 n0-computer/iroh/iroh-base/src/endpoint_addr.rs n0-computer/iroh/iroh-dns/src/endpoint_info.rs same repo
4% 182 n0-computer/iroh/iroh-dns/src/dns.rs n0-computer/iroh/iroh-relay/src/server.rs same repo
6% 180 n0-computer/iroh/iroh-relay/src/server.rs n0-computer/iroh/iroh-relay/tests/runtime_auth.rs same repo
5% 179 n0-computer/iroh/iroh-relay/src/server.rs n0-computer/iroh/iroh-relay/src/server/client.rs same repo
5% 175 n0-computer/iroh/iroh-dns-server/src/http.rs n0-computer/iroh/iroh-relay/src/server.rs same repo
5% 173 n0-computer/iroh/iroh-dns/src/dns.rs n0-computer/iroh/iroh-dns/src/endpoint_info.rs same repo
4% 169 n0-computer/iroh/iroh-dns/src/dns.rs n0-computer/iroh/iroh-relay/src/server/http_server.rs same repo
5% 168 n0-computer/iroh/iroh-relay/src/client.rs n0-computer/iroh/iroh-relay/src/server/http_server.rs same repo
4% 168 n0-computer/iroh/iroh-relay/src/protos/handshake.rs n0-computer/iroh/iroh-relay/src/server/http_server.rs same repo
5% 164 n0-computer/iroh/iroh-relay/src/server/http_server.rs n0-computer/iroh/iroh-relay/src/server/streams.rs same repo
4% 159 n0-computer/iroh/iroh-relay/src/protos/handshake.rs n0-computer/iroh/iroh-relay/src/server.rs same repo
35% 152 n0-computer/iroh/iroh-relay/Cargo.toml n0-computer/iroh/iroh/Cargo.toml same repo

Docs & prose

Near-identical documentation — often translations (e.g. README.mdREADME_zh-CN.md) or mirrored guides. Usually intentional, not cleanup — listed separately so it doesn't inflate the code signal above.

Top duplication hotspots

SimilarityOverlapFile AFile BCross-repo
31% 291 n0-computer/iroh/README.md n0-computer/iroh/iroh/README.md same repo
7% 91 n0-computer/iroh/iroh-relay/README.md n0-computer/iroh/iroh/README.md same repo
7% 81 n0-computer/iroh/README.md n0-computer/iroh/iroh-relay/README.md same repo
8% 64 n0-computer/iroh/iroh-dns-server/README.md n0-computer/iroh/iroh-relay/README.md same repo
8% 61 n0-computer/iroh/iroh-dns-server/README.md n0-computer/iroh/iroh/README.md same repo
9% 60 n0-computer/iroh/README.md n0-computer/iroh/iroh-dns-server/README.md same repo
8% 58 n0-computer/iroh/iroh-dns/README.md n0-computer/iroh/iroh-relay/README.md same repo
8% 57 n0-computer/iroh/iroh-base/README.md n0-computer/iroh/iroh-relay/README.md same repo
63% 56 n0-computer/iroh/iroh-base/README.md n0-computer/iroh/iroh-dns/README.md same repo
29% 56 n0-computer/iroh/iroh-dns-server/README.md n0-computer/iroh/iroh-dns/README.md same repo
10% 56 n0-computer/iroh/README.md n0-computer/iroh/iroh-dns/README.md same repo
8% 56 n0-computer/iroh/iroh-dns/README.md n0-computer/iroh/iroh/README.md same repo
31% 55 n0-computer/iroh/iroh-base/README.md n0-computer/iroh/iroh-dns-server/README.md same repo
10% 55 n0-computer/iroh/README.md n0-computer/iroh/iroh-base/README.md same repo
8% 55 n0-computer/iroh/iroh-base/README.md n0-computer/iroh/iroh/README.md same repo
69% 53 n0-computer/iroh/iroh-relay/proptest-regressions/protos/relay.txt n0-computer/iroh/iroh-relay/proptest-regressions/protos/send_recv.txt same repo
7% 46 n0-computer/iroh/.github/pull_request_template.md n0-computer/iroh/CONTRIBUTING.md same repo
1% 41 n0-computer/iroh/CHANGELOG_old.md n0-computer/iroh/CONTRIBUTING.md same repo
1% 40 n0-computer/iroh/CHANGELOG_old.md n0-computer/iroh/iroh-relay/README.md same repo
1% 37 n0-computer/iroh/CHANGELOG_old.md n0-computer/iroh/README.md same repo

Largest files

Largest files

LOCFileStatus
1801n0-computer/iroh/iroh-relay/src/server/http_server.rsindexed
1641n0-computer/iroh/iroh-relay/src/server.rsindexed
1086n0-computer/iroh/iroh-dns/src/dns.rsindexed
959n0-computer/iroh/iroh-relay/src/main.rsindexed
905n0-computer/iroh/iroh-relay/src/protos/handshake.rsindexed
902n0-computer/iroh/iroh-relay/src/protos/relay.rsindexed
861n0-computer/iroh/iroh-relay/src/server/client.rsindexed
720n0-computer/iroh/iroh-dns/src/endpoint_info.rsindexed
661n0-computer/iroh/iroh-relay/src/server/streams.rsindexed
610n0-computer/iroh/iroh-dns-server/src/store/signed_packets.rsindexed