Iroh-Examples
March 3, 2026 ยท View on GitHub
Examples how to use iroh or one of the iroh library crates. Things in here should be somewhat easy to understand.
For very experimental things there is iroh-experiments.
Examples
browser-echo
Use iroh in the browser, compiled to web assembly. Try it here!
browser-chat
A chat app based on iroh-gossip that can run both in the browser and on the command line. Try it here!
browser-blobs
Small example for running iroh-blobs in the browser. Try it here!
custom-router
When you need more control or customizations than the
iroh Router allows, we
recommend to build your own router instead. This example implements a router that allows
to add and remove protocols at runtime.
dumbpipe-web
Forward http requests to dumbpipe. Share a local dev server publicly.
extism
Use iroh through extism
framed messages
Send chess moves back and forth on the same bi-directional stream by framing it using tokio-util's codec feature.
frosty
Experiment with FROST threshold signatures for iroh.
iroh-automerge
Iroh integration with automerge
iroh-automerge-repo
Iroh integration with automerge using samod
iroh-gateway
A http gateway for iroh-blobs data, written using iroh-blobs.
tauri-todos
Todo app using iroh documents and tauri.
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.