{"id":13424668,"url":"https://github.com/a914-gowtham/compose-ratingbar","last_synced_at":"2026-01-14T03:42:34.644Z","repository":{"id":42164328,"uuid":"354217270","full_name":"a914-gowtham/compose-ratingbar","owner":"a914-gowtham","description":"ratingbar composable for jetpack compose :rocket::star2:","archived":false,"fork":false,"pushed_at":"2025-07-31T11:43:14.000Z","size":3788,"stargazers_count":252,"open_issues_count":4,"forks_count":21,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T15:23:54.401Z","etag":null,"topics":["android-jetpack","compose-rating-bar","jetpack","jetpack-components","jetpack-compose","jetpack-compose-ratingbar","jetpack-ratingbar","rating-bar","rating-bar-compose","ratingbar","ratingbar-compose"],"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/a914-gowtham.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":"2021-04-03T06:23:00.000Z","updated_at":"2025-07-31T11:43:18.000Z","dependencies_parsed_at":"2023-01-20T00:55:10.194Z","dependency_job_id":"ef6d9712-e6b7-4571-92f1-54df87b56aad","html_url":"https://github.com/a914-gowtham/compose-ratingbar","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/a914-gowtham/compose-ratingbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a914-gowtham%2Fcompose-ratingbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a914-gowtham%2Fcompose-ratingbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a914-gowtham%2Fcompose-ratingbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a914-gowtham%2Fcompose-ratingbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a914-gowtham","download_url":"https://codeload.github.com/a914-gowtham/compose-ratingbar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a914-gowtham%2Fcompose-ratingbar/sbom","scorecard":{"id":158334,"data":{"date":"2025-08-11","repo":{"name":"github.com/a914-gowtham/compose-ratingbar","commit":"4c7c36a435839671763bfda2f4ff824a9f913339"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"1 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/18 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":"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":"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":"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":"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":"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":"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 15 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-16T12:34:31.999Z","repository_id":42164328,"created_at":"2025-08-16T12:34:31.999Z","updated_at":"2025-08-16T12:34:31.999Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","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":["android-jetpack","compose-rating-bar","jetpack","jetpack-components","jetpack-compose","jetpack-compose-ratingbar","jetpack-ratingbar","rating-bar","rating-bar-compose","ratingbar","ratingbar-compose"],"created_at":"2024-07-31T00:00:57.558Z","updated_at":"2026-01-14T03:42:34.632Z","avatar_url":"https://github.com/a914-gowtham.png","language":"Kotlin","funding_links":["https://www.buymeacoffee.com/gowtham6672"],"categories":["Uncategorized","Libraries"],"sub_categories":["Uncategorized","UI"],"readme":"# Compose-Ratingbar\nA ratingbar for jetpack compose \n* Forked from [compose-rating-bar](https://github.com/jsachica/compose-rating-bar)\n\n[![](https://jitpack.io/v/a914-gowtham/compose-ratingbar.svg)](https://jitpack.io/#a914-gowtham/compose-ratingbar) [![](https://jitpack.io/v/a914-gowtham/compose-ratingbar/month.svg)](https://jitpack.io/#a914-gowtham/compose-ratingbar)\n\n\n\n\n\u003cimg src=\"https://github.com/a914-gowtham/compose-ratingbar/blob/refactor/ratingbar_usage/demo_1.gif\" width=\"340\" height=\"260\"/\u003e\n\nDownload\n--------\nAdd in project build.gradle:\n\n```gradle\nrepositories {\n    maven { url 'https://jitpack.io' }\n}\n\n// App build.gradle\ndependencies {\n   implementation 'com.github.a914-gowtham:compose-ratingbar:1.3.12'\n  //mavenCentral\n  // implementation 'io.github.a914-gowtham:compose-ratingbar:1.2.3'\n\n}\n```\n\n## Usage \n```kotlin\n   import androidx.compose.runtime.*\n\n   var rating: Float by remember { mutableStateOf(3.2f) }\n\n   RatingBar(\n       value = rating,\n       style = RatingBarStyle.Fill(),\n       onValueChange = {\n           rating = it\n       },\n       onRatingChanged = {\n           Log.d(\"TAG\", \"onRatingChanged: $it\")\n       }\n   )\n```\n\n#### Other optional params:\n```kotlin\n  fun RatingBar(\n      value: Float,\n      modifier: Modifier = Modifier,\n      numOfStars: Int = 5,\n      size: Dp = 32.dp,\n      spaceBetween: Dp = 6.dp,\n      isIndicator: Boolean = false,\n      stepSize: StepSize = StepSize.ONE,\n      hideInactiveStars: Boolean = false,\n      style: RatingBarStyle,\n      onValueChange: (Float) -\u003e Unit,\n      onRatingChanged: (Float) -\u003e Unit\n)\n```\n\n## More Customization✨\n\n\u003cimg src=\"https://github.com/a914-gowtham/compose-ratingbar/blob/main/customization_demo.gif\" width=\"340\" height=\"260\"/\u003e\n\nIcon can be changed using ```painterEmpty``` ```painterFilled``` params.\n```kotlin\n        RatingBar(\n            value = rating,\n            painterEmpty = painterResource(id = R.drawable.icon_empty),\n            painterFilled = painterResource(id = R.drawable.icon_filled),\n            onValueChange = {\n                rating = it\n            },\n            onRatingChanged = {\n                Log.d(\"TAG\", \"onRatingChanged: $it\")\n            }\n        )\n```\n## Library Info\n* Current version of the library only supports Stepsize 1f and 0.5f when click or drag. However, Initial Rating value could be any float value like 3.8 etc.\n\n## Show some ❤ and support\n\nGive a ⭐️ if this project helped you!\n\n\u003ca href=\"https://www.buymeacoffee.com/gowtham6672\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" width=\"160\"\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa914-gowtham%2Fcompose-ratingbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa914-gowtham%2Fcompose-ratingbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa914-gowtham%2Fcompose-ratingbar/lists"}