{"id":16292804,"url":"https://github.com/scottchiefbaker/esp-webota","last_synced_at":"2025-04-06T03:12:10.406Z","repository":{"id":54281177,"uuid":"175543591","full_name":"scottchiefbaker/ESP-WebOTA","owner":"scottchiefbaker","description":"Simple web based Over-the-Air (OTA) updates for ESP based projects","archived":false,"fork":false,"pushed_at":"2023-12-18T23:44:19.000Z","size":57,"stargazers_count":331,"open_issues_count":11,"forks_count":42,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-30T02:08:35.006Z","etag":null,"topics":["arduino-library","esp","esp32","esp32-arduino","esp8266","esp8266-arduino","ota"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scottchiefbaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-03-14T03:43:01.000Z","updated_at":"2025-03-24T21:53:05.000Z","dependencies_parsed_at":"2023-11-10T07:48:11.516Z","dependency_job_id":"ff595b25-9546-4252-a937-5ce9279c5da4","html_url":"https://github.com/scottchiefbaker/ESP-WebOTA","commit_stats":{"total_commits":81,"total_committers":5,"mean_commits":16.2,"dds":0.04938271604938271,"last_synced_commit":"5f7f7f72d21378f5b0c814e9a33c451563a291e0"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2FESP-WebOTA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2FESP-WebOTA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2FESP-WebOTA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scottchiefbaker%2FESP-WebOTA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scottchiefbaker","download_url":"https://codeload.github.com/scottchiefbaker/ESP-WebOTA/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427012,"owners_count":20937214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["arduino-library","esp","esp32","esp32-arduino","esp8266","esp8266-arduino","ota"],"created_at":"2024-10-10T20:08:55.306Z","updated_at":"2025-04-06T03:12:10.385Z","avatar_url":"https://github.com/scottchiefbaker.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP WebOTA\n\nEasily add web based [OTA](https://en.wikipedia.org/wiki/Over-the-air_programming) updates to your ESP32/ESP8266 projects.\n\n## Installation\n\nClone this repo to your Arduino libraries directory. On Linux this is `~/Arduino/libraries/`\n\n## Usage\n\nInclude the WebOTA library\n\n    #include \u003cWebOTA.h\u003e\n\nOptionally initialize the WebOTA library if you want to change the defaults. This is done at the end of your `setup()` function:\n\n    void setup() {\n        // Other init code here (WiFi, etc)\n\n        // To use a specific port and path uncomment this line\n        // Defaults are 8080 and \"/webota\"\n        // webota.init(8888, \"/update\");\n\n        // If you call useAuth() in your setup function WebOTA will use\n        // HTTP digest authentication to request credentials from the user\n        // before allowing uploads\n        // webota.useAuth(\"username\", \"password\");\n    }\n\nListen for update requests at the end of your `loop()` function:\n\n    void loop() {\n        // Other loop code here\n\n        webota.handle();\n    }\n\n**Note:** If you have long `delay()` commands in your `loop()` WebOTA may not be responsive. We have provided `webota.delay()` as a drop-in replacement, which is more WebOTA friendly.\n\n## Upload a sketch\n\nYou will need to create a binary sketch image to upload. This is done in the Arduino IDE by going to the `Sketch` menu and selecting `Export compiled Binary`.\n\nNavigate to your ESP in a web browser to upload your binary image. Typical URLs are: http://esp-ota.local:8080/webota.\n\nYou can also use Curl if you want to script your uploads from the CLI\n\n    curl -F \"file=@MyImage.bin\" http://esp-ota.local:8080/webota\n\n## Based on\n\nBorrowed from [randomnerdtutorials.com](https://randomnerdtutorials.com/esp32-over-the-air-ota-programming/) and improved upon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottchiefbaker%2Fesp-webota","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscottchiefbaker%2Fesp-webota","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscottchiefbaker%2Fesp-webota/lists"}