{"id":42049211,"url":"https://github.com/ohmae/color-chooser","last_synced_at":"2026-01-26T06:33:02.909Z","repository":{"id":41555878,"uuid":"158970822","full_name":"ohmae/color-chooser","owner":"ohmae","description":"Color chooser dialog library for android","archived":false,"fork":false,"pushed_at":"2026-01-17T13:57:23.000Z","size":7963,"stargazers_count":25,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-18T00:15:39.372Z","etag":null,"topics":["android-library","color-picker"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/ohmae.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-11-24T20:23:10.000Z","updated_at":"2026-01-17T13:57:27.000Z","dependencies_parsed_at":"2023-10-15T09:11:48.809Z","dependency_job_id":"76be0bbe-6179-41d1-aca0-de985b813049","html_url":"https://github.com/ohmae/color-chooser","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/ohmae/color-chooser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmae%2Fcolor-chooser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmae%2Fcolor-chooser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmae%2Fcolor-chooser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmae%2Fcolor-chooser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohmae","download_url":"https://codeload.github.com/ohmae/color-chooser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohmae%2Fcolor-chooser/sbom","scorecard":{"id":703502,"data":{"date":"2025-08-11","repo":{"name":"github.com/ohmae/color-chooser","commit":"b708102cf1da040aeff5ec65011f0748111d51b6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"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":"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":10,"reason":"14 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","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 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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"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"}}]},"last_synced_at":"2025-08-22T05:48:33.320Z","repository_id":41555878,"created_at":"2025-08-22T05:48:33.320Z","updated_at":"2025-08-22T05:48:33.320Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28768382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"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-library","color-picker"],"created_at":"2026-01-26T06:33:02.846Z","updated_at":"2026-01-26T06:33:02.902Z","avatar_url":"https://github.com/ohmae.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# color chooser\n\n[![license](https://img.shields.io/github/license/ohmae/color-chooser.svg)](./LICENSE)\n[![GitHub release](https://img.shields.io/github/release/ohmae/color-chooser.svg)](https://github.com/ohmae/color-chooser/releases)\n[![GitHub issues](https://img.shields.io/github/issues/ohmae/color-chooser.svg)](https://github.com/ohmae/color-chooser/issues)\n[![GitHub closed issues](https://img.shields.io/github/issues-closed/ohmae/color-chooser.svg)](https://github.com/ohmae/color-chooser/issues?q=is%3Aissue+is%3Aclosed)\n[![Maven Central](https://img.shields.io/maven-central/v/net.mm2d.color-chooser/color-chooser)](https://search.maven.org/artifact/net.mm2d.color-chooser/color-chooser)\n\n## ScreenShots\n\n|![](readme/1.png)|![](readme/2.png)|![](readme/3.png)|\n|:-:|:-:|:-:|\n|![](readme/4.png)|![](readme/5.png)|![](readme/6.png)|\n|![](readme/7.png)|![](readme/8.png)|![](readme/9.png)|\n\n## How to use\n\n### Jetpack Compose\n\nlatest version: ![Maven Central](https://img.shields.io/maven-central/v/net.mm2d.color-chooser/color-chooser-compose)\n\n```gradle\ndependencies {\n    implementation 'net.mm2d.color-chooser:color-chooser-compose:\u003cversion\u003e'\n}\n```\n\n```kotlin\nvar show by rememberSaveable { mutableStateOf(false) }\n\n...\n\nif (!show) return\nColorChooserDialog(\n    initialColor = Color(color),\n    onDismissRequest = {\n        show = false\n        // dismiss the dialog \n    },\n    onChooseColor = { color -\u003e\n        // handle chosen color\n    },\n)\n```\n\n### View-base app\n\nlatest version: ![Maven Central](https://img.shields.io/maven-central/v/net.mm2d.color-chooser/color-chooser)\n\n```gradle\ndependencies {\n    implementation 'net.mm2d.color-chooser:color-chooser:\u003cversion\u003e'\n}\n```\n\nRegister the listener to receive the result.\nWrite the following process in onViewCreated of Fragment or onCreate of Activity.\n\n```kotlin\nColorChooserDialog.registerListener(REQUEST_KEY, this) {\n    // it is selected color as @ColorInt\n}\n```\n\nTo show dialog. On `FragmentActivity` or `Fragment`\n\n```kotlin\nColorChooserDialog.show(\n    this,         // Fragment or FragmentActivity\n    REQUEST_KEY,  // request key for receive result\n    initialColor, // initial color, optional, default #FFFFFF\n    true,         // need for alpha, optional, default false\n    TAB_RGB       // initial tab, TAB_PALETTE/TAB_HSV/TAB_RGB, optional, default  TAB_PALETTE\n)\n```\n\n*The style of implementing a callback interface in Activity and Fragment has been deprecated.*\n\nPlease see [Sample code](sample/src/main/java/net/mm2d/color/chooser/sample/MainActivity.kt) for detail.\n\n## API Document\n\n- [dokka](https://ohmae.github.io/color-chooser/dokka/)\n\n## Dependent OSS\n\n- [color-chooser](./chooser/dependencies/releaseRuntimeClasspath.txt)\n- [color-chooser-compose](./chooser-compose/dependencies/releaseRuntimeClasspath.txt)\n\n## Author\n\n大前 良介 (OHMAE Ryosuke)\nhttp://www.mm2d.net/\n\n## License\n\n[MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmae%2Fcolor-chooser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohmae%2Fcolor-chooser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmae%2Fcolor-chooser/lists"}