{"id":51321638,"url":"https://github.com/n0-computer/iroh-smart-fan","last_synced_at":"2026-07-01T14:02:01.644Z","repository":{"id":368607442,"uuid":"1285936594","full_name":"n0-computer/iroh-smart-fan","owner":"n0-computer","description":"A smart fan example project using iroh on ESP32","archived":false,"fork":false,"pushed_at":"2026-07-01T10:01:01.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-01T12:04:55.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n0-computer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-01T09:31:33.000Z","updated_at":"2026-07-01T10:01:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/n0-computer/iroh-smart-fan","commit_stats":null,"previous_names":["n0-computer/iroh-smart-fan"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/n0-computer/iroh-smart-fan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0-computer%2Firoh-smart-fan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0-computer%2Firoh-smart-fan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0-computer%2Firoh-smart-fan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0-computer%2Firoh-smart-fan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n0-computer","download_url":"https://codeload.github.com/n0-computer/iroh-smart-fan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n0-computer%2Firoh-smart-fan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35009272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-01T14:02:00.932Z","updated_at":"2026-07-01T14:02:01.639Z","avatar_url":"https://github.com/n0-computer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iroh-smart-fan\n\nAn [iroh](https://iroh.computer) echo endpoint running on a **PSRAM ESP32**, dialed\nfrom a desktop CLI. Both speak standard QUIC, so a stock desktop iroh and the ESP32 talk to each other over the internet (via an n0 relay) or locally with nothing\nin between.\n\nThis is the foundation for a smart-fan project; for now it's the smallest thing\nworth shipping: **echo**.\n\n## Two crates (deliberately not a workspace)\n\n| crate | what |\n|-------|------|\n| [`smart-fan-cli/`](smart-fan-cli) | native CLI that dials the ticket and echoes a message |\n| [`smart-fan-esp32/`](smart-fan-esp32) | the ESP32 firmware (echo server) |\n\nThey can't be one workspace: the firmware needs a different toolchain and a patched\niroh, while the client uses released iroh. Conflicting dependency graphs → two\nstandalone crates.\n\n## Target boards\n\nAnything ESP32 (Xtensa LX6) **with PSRAM** — e.g. an ESP32-WROVER (4 MiB) or an\nM5StickC (2 MiB). PSRAM is what gives the iroh heap room to breathe; the firmware\nuses iroh's default buffers, no frugal tuning.\n\n## Quick start\n\n1. **Flash the firmware** (needs the esp Rust toolchain — see [`smart-fan-esp32/`](smart-fan-esp32)):\n   ```bash\n   cd smart-fan-esp32\n   WIFI_CONFIG='SSID:PASSWORD' cargo run --release\n   ```\n   It prints an **endpoint ticket** on the serial console.\n\n2. **Run the client** with that ticket:\n   ```bash\n   cd smart-fan-cli\n   cargo run -- \u003cendpoint-ticket\u003e\n   ```\n   You should see `Echo OK — iroh \u003c-\u003e ESP32!`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0-computer%2Firoh-smart-fan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn0-computer%2Firoh-smart-fan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn0-computer%2Firoh-smart-fan/lists"}