{"id":17044776,"url":"https://github.com/keredson/rust-esp32-hello-ota","last_synced_at":"2026-05-17T03:36:48.072Z","repository":{"id":197127275,"uuid":"698039591","full_name":"keredson/rust-esp32-hello-ota","owner":"keredson","description":"A hello world for the ESP32 with OTA (HTTP) firmware updates.","archived":false,"fork":false,"pushed_at":"2024-04-16T18:45:44.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T06:39:52.594Z","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/keredson.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}},"created_at":"2023-09-29T02:39:37.000Z","updated_at":"2023-09-29T02:40:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"b39fcc90-f9f0-4ef8-b7cf-687e106c15ca","html_url":"https://github.com/keredson/rust-esp32-hello-ota","commit_stats":null,"previous_names":["keredson/rust-esp32-hello-ota"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/keredson/rust-esp32-hello-ota","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Frust-esp32-hello-ota","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Frust-esp32-hello-ota/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Frust-esp32-hello-ota/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Frust-esp32-hello-ota/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keredson","download_url":"https://codeload.github.com/keredson/rust-esp32-hello-ota/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keredson%2Frust-esp32-hello-ota/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33126574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"online","status_checked_at":"2026-05-17T02:00:05.366Z","response_time":107,"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":"2024-10-14T09:35:28.734Z","updated_at":"2026-05-17T03:36:48.055Z","avatar_url":"https://github.com/keredson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-esp32-hello-ota\nA hello world for the ESP32 with OTA (HTTP) firmware updates.\n\nESP32 Dev Env Setup\n-----\nNotes on approx. how I got it working under Ubuntu 23.04.\n\n```\nsudo apt install -y git curl gcc clang ninja-build cmake libudev-dev \\\n                    unzip xz-utils python3 python3-pip python3-venv \\\n                    libusb-1.0-0 libssl-dev pkg-config\nsudo snap install rustup --classic\nrustup install stable\ncargo install cargo-espflash\ncargo install espup\ncargo add esp32s2 # for esp32 s2 mini\necho 'export PATH=\"$PATH:~/.cargo/bin\"' \u003e\u003e ~/.bashrc\nsource ~/.bashrc\nespup install\n. $HOME/export-esp.sh\n```\n\nProject Init\n------------\n```\ncargo new \u003cproject-name\u003e\n```\n\nCreate `Cargo.toml`:\n```toml\n[package]\nname = \"my_project\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html\n\n[dependencies]\n```\n\nUse\n---\nSet `SSID` and `PASS` in `main.rs`.\n\nBuild and deploy over serial once:\n```\ncargo espflash flash -p /dev/ttyUSB0\nespflash monitor\n```\nNote the IP in the serial logs.  Ex:\n```\nIP info: IpInfo { ip: 10.0.0.49, subnet: Subnet { gateway: 10.0.0.1, mask: Mask(24) }, dns: Some(75.75.75.75), secondary_dns: Some(75.75.76.76) }\n```\n\nFor future builds, run: `deploy.sh \u003cip\u003e`\n\n*Deploy will not exit, but it will be obvious when done.  Just ctrl-c. Ex:*\n```\n* We are completely uploaded and fine\n\u003c HTTP/1.1 200 OK\n```\n\nTo revert to the last build, run: `curl -X POST http://10.0.0.49/revert`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeredson%2Frust-esp32-hello-ota","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeredson%2Frust-esp32-hello-ota","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeredson%2Frust-esp32-hello-ota/lists"}