Looks like Iran chose the *regime change* option.
Bold strategy.
furio
furio@pailakapo.com
npub1jxjm...0mdf
Make the states great again.
Move all unconstitutional federal powers back to state control.
Enforce the 10th Amendment.
Build cashu tools.
Notes (3)
Corn wants Trump to leave Iran to Israel.
I agree with corn.
I just learned about Iroh.
https://www.iroh.computer/docs/overview
My first thought is for nostr DMs.
Could you share NODEID for Iroh on your nostr account (one for phone, and another for an always on relay) then the user messaging you would see if you're "online" (phone nodeID) and be able to DM you, or if not online, send the DM to the relay, where you get it when you come "online."
One advantage is if two are DMing in real time device to device, it doesn't hit the relay network, so no relay overhead or metadata leak.
So next step is to Grok to give me an overview, so here's a wall of text:
Iroh and Nostr are both decentralized technologies aiming to give users more control over their data and communications, but they operate at different layers of the stack, making their integration both feasible and potentially powerful. Iroh is a peer-to-peer (P2P) networking library that enables direct, encrypted connections between devices using unique NodeIDs, bypassing centralized servers when possible and falling back to relay servers when needed. Nostr, on the other hand, is a protocol for decentralized communication, where users publish and retrieve messages (events) via relays, identified by cryptographic keys. Here’s how Iroh could be used with Nostr, how Nostr’s direct messages (DMs) could leverage Iroh, and whether Nostr relays could serve as Iroh relays, in a concise overview.
Integration with Nostr: Iroh could enhance Nostr by providing a robust P2P networking layer for client-to-client communication. Nostr clients currently rely on relays to store and forward messages, which can introduce latency, dependency on relay availability, and potential censorship risks. Iroh’s ability to establish direct QUIC-based connections between devices could allow Nostr clients to communicate directly when possible, using NodeIDs mapped to Nostr public keys. For example, a Nostr client could use Iroh’s iroh-blobs protocol to transfer large files (e.g., media attachments) directly between users, bypassing relays for data-heavy operations. Alternatively, Iroh’s iroh-gossip protocol could enable scalable, real-time group chats or event broadcasting, complementing Nostr’s event-driven model. This would reduce reliance on relays, lower latency, and enhance privacy by keeping data transfers end-to-end encrypted.
Nostr DMs Leveraging Iroh: Nostr’s direct messages (kind 4 events) are encrypted and stored on relays, requiring users to trust relay operators not to log metadata or interfere. Iroh could improve Nostr DMs by enabling direct P2P messaging between users’ devices. When two Nostr users want to exchange DMs, their clients could use Iroh to discover each other’s NodeIDs (potentially via a Nostr event announcing the NodeID) and establish a direct, encrypted QUIC connection. This would allow DMs to be sent without ever touching a relay, reducing metadata exposure and ensuring messages are only stored locally. If a direct connection isn’t possible (e.g., due to NATs or firewalls), Iroh’s relay system could serve as a fallback, still maintaining end-to-end encryption. This approach would make Nostr DMs faster, more private, and less dependent on relay infrastructure.
Nostr Relays as Iroh Relays: Nostr relays and Iroh relays serve different purposes, but there’s potential for overlap. Nostr relays are primarily databases that store and broadcast events, while Iroh relays facilitate P2P connection establishment and fallback data routing. A Nostr relay could theoretically act as an Iroh relay if it implemented Iroh’s relay protocol (e.g., supporting QUIC and WebSocket-based connections). However, this would require significant modifications, as Nostr relays are not designed for Iroh’s NAT traversal or hole-punching mechanisms. A more practical approach might be running Iroh relays alongside Nostr relays on the same server, sharing infrastructure while keeping their functions separate. This could streamline operations for communities running both systems, allowing Nostr clients to use Iroh’s networking for direct connections while still using Nostr relays for event storage and discovery. The open-source nature of both projects makes this integration feasible, though it would require developer effort to align protocols.
In summary, Iroh could supercharge Nostr by enabling direct, low-latency, encrypted P2P communication, particularly for DMs, reducing reliance on relays and enhancing privacy. While Nostr relays could potentially double as Iroh relays with modifications, a side-by-side deployment is more straightforward. This synergy could create a more resilient, user-controlled communication ecosystem, aligning with both projects’ goals of decentralizing the internet.