https://github.com/n0-computer/iroh-workshop-jonthebeach
https://github.com/n0-computer/iroh-workshop-jonthebeach
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/n0-computer/iroh-workshop-jonthebeach
- Owner: n0-computer
- Created: 2024-04-30T07:44:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T07:29:39.000Z (over 1 year ago)
- Last Synced: 2025-09-23T06:48:17.062Z (9 months ago)
- Language: Rust
- Size: 113 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Latest version of the workshop is at https://github.com/n0-computer/iroh-workshop-omniopencon
# Code for the iroh workshop @ JOnTheBeach 2024
## Hackmd
https://hackmd.io/@GMgEoX9mQWKh09CQ-JktgA/BkwrZ6lfC
https://tinyurl.com/2rmf4a8x
You can run each step using e.g.
```
cargo run -p pipe1
```
You can copy each example as a starting point for a standalone
crate.
## Pipe
Simple pipe between two endpoints anywhere in the world.
Like netcat, but global
/pipe_diy just the project setup, DIY
/pipe1 minimal working version
/pipe2 use iroh DNS discovery to get shorter tickets
/pipe3 use https://pkarr.org discovery to get p2p discovery
/pipe4 add direct addresses to the published records
## Chat
Peer to peer group chat using the iroh gossip protocol
/chat_diy just the project setup, DIY
/chat1 minimal working version, text protocol
/chat2 messages signed by the node id
/chat3 add encrypted direct messages
/chat4 add unique message id to prevent deduplication