{"id":37016667,"url":"https://github.com/hannesstruss/cheesewire","last_synced_at":"2026-01-14T01:53:51.652Z","repository":{"id":57730512,"uuid":"115345387","full_name":"hannesstruss/cheesewire","owner":"hannesstruss","description":"Lifecycle-friendly view binding in Kotlin for Conductor.","archived":false,"fork":false,"pushed_at":"2020-02-17T12:34:09.000Z","size":191,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-18T03:10:42.908Z","etag":null,"topics":["android","conductor","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hannesstruss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-25T14:56:21.000Z","updated_at":"2024-04-18T03:10:42.909Z","dependencies_parsed_at":"2022-09-26T22:01:26.842Z","dependency_job_id":null,"html_url":"https://github.com/hannesstruss/cheesewire","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hannesstruss/cheesewire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannesstruss%2Fcheesewire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannesstruss%2Fcheesewire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannesstruss%2Fcheesewire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannesstruss%2Fcheesewire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hannesstruss","download_url":"https://codeload.github.com/hannesstruss/cheesewire/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hannesstruss%2Fcheesewire/sbom","scorecard":{"id":454674,"data":{"date":"2025-08-11","repo":{"name":"github.com/hannesstruss/cheesewire","commit":"df464b1be37a7e2e99932f084c1dc924ef7f8093"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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-19T09:14:08.003Z","repository_id":57730512,"created_at":"2025-08-19T09:14:08.003Z","updated_at":"2025-08-19T09:14:08.003Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android","conductor","kotlin"],"created_at":"2026-01-14T01:53:51.133Z","updated_at":"2026-01-14T01:53:51.645Z","avatar_url":"https://github.com/hannesstruss.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :warning: Deprecated\n\nCheeseWire is deprecated. From Android Gradle Plugin 3.6 on, you should use [ViewBinding](https://developer.android.com/topic/libraries/view-binding).\n\n# CheeseWire\n\n\u003cimg src=\"art/logo.jpg\" width=\"200\"\u003e\n\nLifecycle-friendly view binding in Kotlin for Conductor.\n\n[![Build Status](https://travis-ci.org/hannesstruss/cheesewire.svg?branch=master)](https://travis-ci.org/hannesstruss/cheesewire)\n[![Maven Central](https://img.shields.io/maven-metadata/v/http/central.maven.org/maven2/de/hannesstruss/cheesewire/cheesewire/maven-metadata.xml.svg)](http://search.maven.org/#search%7Cga%7C1%7Ccheesewire)\n\nTo use, add a `ConductorViewBinder` to your base controller:\n\n```kotlin\nabstract class BaseController : Controller() {\n  protected val views = ConductorViewBinder(this)\n}\n```\n\nThis can now be used to bind views in your concrete controllers:\n\n```kotlin\nclass HomeController : BaseController() {\n  private val btnLogin: Button by views.bind(R.id.btn_login)\n}\n```\n\nduring `onDestroyView`, the view binder is reset, and your views aren't leaked.\n\nSee the [sample app](https://github.com/hannesstruss/cheesewire/tree/master/sample) for an example.\n\n\n## Generic lazy\n\nCheeseWire view binders also provide a generic lazy property delegate which\nis synchronized with your view property lifecycle. This comes in handy e.g. in\ncombination with [RxBinding](https://github.com/JakeWharton/RxBinding) when you\nwant to avoid calling the RxBinding methods twice on a view:\n\n```kotlin\nclass MyMviController : BaseController() {\n  private val btnLogin: Button by views.bind(R.id.btn_login)\n  private val btnSignup: Button by views.bind(R.id.btn_login)\n\n  val intentions by views.lazy {\n    Observable.merge(\n        btnLogin.clicks().map { Intention.Login },\n        btnSignup.clicks().map { Intention.Signup }\n    )\n  }\n}\n```\n\n\n## Download\n\n```groovy\ndependencies {\n  implementation 'de.hannesstruss.cheesewire:cheesewire-conductor:0.2'\n}\n```\n\n\n## Attributions :bow:\n\nCheeseWire is inspired by the awesome work of [ButterKnife](http://jakewharton.github.io/butterknife/),\n[KotterKnife](https://github.com/JakeWharton/kotterknife) and\n[ButterknifeConductor](https://gist.github.com/EricKuck/05887d898c85ae4c47bf88b2cd127e71).\n\n\n## License\n\n    Copyright (C) 2017 Hannes Struss\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhannesstruss%2Fcheesewire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhannesstruss%2Fcheesewire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhannesstruss%2Fcheesewire/lists"}