{"id":50587031,"url":"https://github.com/coloz/cordova-plugin-esptouch","last_synced_at":"2026-06-05T07:02:26.067Z","repository":{"id":57208120,"uuid":"110404606","full_name":"coloz/cordova-plugin-esptouch","owner":"coloz","description":"Cordova esptouch/smartconfig plugin for esp8266 and ESP32","archived":false,"fork":false,"pushed_at":"2023-12-31T15:05:12.000Z","size":1935,"stargazers_count":30,"open_issues_count":0,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-26T13:34:24.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/coloz.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}},"created_at":"2017-11-12T04:26:51.000Z","updated_at":"2024-04-09T09:08:45.000Z","dependencies_parsed_at":"2023-12-31T16:21:52.949Z","dependency_job_id":"78edce67-501a-4a59-be64-8080e74b738d","html_url":"https://github.com/coloz/cordova-plugin-esptouch","commit_stats":{"total_commits":59,"total_committers":2,"mean_commits":29.5,"dds":0.423728813559322,"last_synced_commit":"87b0f056dc4d67958c6e37e9f854f704d80b0e0e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coloz/cordova-plugin-esptouch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coloz%2Fcordova-plugin-esptouch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coloz%2Fcordova-plugin-esptouch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coloz%2Fcordova-plugin-esptouch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coloz%2Fcordova-plugin-esptouch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coloz","download_url":"https://codeload.github.com/coloz/cordova-plugin-esptouch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coloz%2Fcordova-plugin-esptouch/sbom","scorecard":{"id":300420,"data":{"date":"2025-08-11","repo":{"name":"github.com/coloz/cordova-plugin-esptouch","commit":"560a72e7fcf5d2a06b5100dfa411a812a71a9456"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":8,"reason":"binaries present in source code","details":["Warn: binary detected: src/android/esptouch-v1-1.0.0.jar:1","Warn: binary detected: src/android/esptouch-v2-2.1.0.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T20:27:44.068Z","repository_id":57208120,"created_at":"2025-08-17T20:27:44.068Z","updated_at":"2025-08-17T20:27:44.068Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33932048,"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-06-05T02:00:06.157Z","response_time":120,"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-06-05T07:02:25.101Z","updated_at":"2026-06-05T07:02:26.054Z","avatar_url":"https://github.com/coloz.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-esptouch 2.0\n配合esp8266、esp32进行esptouch配网的cordova插件，集成了esptouch V1、V2, 并提供配网时必要的wifi检查功能，可用于ionic、cordova项目。  \n\n本程序不在维护，新版本为[capacitor-esptouch](https://github.com/coloz/capacitor-esptouch)  \n  \n## 支持平台  \nios 12.x  \nandroid 5+  \n\n## 参考引用  \nhttps://github.com/EspressifApp/EsptouchForAndroid  \nhttps://github.com/EspressifApp/lib-esptouch-v2-android  \nhttps://github.com/EspressifApp/EsptouchForIOS  \nhttps://github.com/EspressifApp/EsptouchForIOS/tree/master/EspTouchDemo/ESPTouchV2  \n\n## 使用方法  \n### 安装  \n```\ncordova plugin add cordova-plugin-esptouch\n```\n\n### 使用方法 \n#### WiFi相关检查  \n```javascript\ndeclare var wifi;\n\nwifi.checkLocation( \n  result =\u003e { \n    if(!result) console.log('未开启位置服务')\n  }\n);\n\nwifi.getConnectedInfo(\n  result =\u003e { \n    console.log(result)\n    /*\n    {\n      ip:'192.186.1.111'  // 这里不知道为啥多了个/，自己处理下\n      is5G: false\n      ssid: 'test'\n      bssid:'00:00:00:00:00:00'\n      state:'Connected'\n    }\n    */\n    if(result.is5G) console.log('当前设备仅支持2.4G热点接入，请更换热点')\n  }, \n  error =\u003e { \n    console.log(error) \n    if(error.state=='NotConnected') console.log('WiFi未连接');\n    else if(error.state=='Connecting') console.log('WiFi连接中');\n  }\n)\n\n```\n#### esptouch v2\n```javascript\ndeclare var esptouch2;\n\nesptouch2.start(ssid, password, customData, \n  result =\u003e { console.log(result) }, \n  error =\u003e { console.log(error) }\n}\n\nesptouch2.stop(\n  result =\u003e { console.log(result) }, // {\"bssid\":\"ffffffffffff\",\"ip\":\"192.168.1.123\"}\n  error =\u003e { console.log(error) }\n);\n\n```\n#### esptouch v1\n```javascript\ndeclare var esptouch;\n\nesptouch.start(ssid, password, \n  result =\u003e { console.log(result) }, \n  error =\u003e { console.log(error) }\n}\n\nesptouch.stop(\n  result =\u003e { console.log(result) }, // {\"bssid\":\"ffffffffffff\",\"ip\":\"192.168.1.123\"}\n  error =\u003e { console.log(error) }\n);\n```\n\n\n### 输出  \n```json\n{\"bssid\":\"ffffffffffff\",\"ip\":\"192.168.1.123\"}\n```\n\n## 网络乞讨  \n如果你觉得该项目不错，可以打个star支持下  \n\n## 技术支持  \n提供cordova/ionic开发、ESP8266/ESP32开发技术支持服务，300元/每小时  \n联系邮箱：clz@clz.me  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoloz%2Fcordova-plugin-esptouch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoloz%2Fcordova-plugin-esptouch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoloz%2Fcordova-plugin-esptouch/lists"}