Skip to content

n0-computer/iroh-esp32-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example project for using iroh on an ESP32

This repository contains two completely separate Rust projects (no Cargo workspace):

  • server/ — ESP32 endpoint project (using custom iroh branch)
  • client/ — Desktop test client (published crates.io iroh)

Each directory has its own Cargo.toml and lockfile.

Build / run

Server (ESP32)

An ESP32 device must be connected over USB-C when running the server. You need an ESP32 with SPIRAM to run this example, e.g. an ESP32-WROVER that is frequently included in ESP32 dev kits.

cd server
WIFI_CONFIG='SSID:PASSWORD' cargo run --release

Client

cd client
cargo run <endpoint-ticket>

Use a long ticket (with IP address) for direct dialing.

About

Self-contained example how to run iroh on an ESP32

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages