{"id":13643797,"url":"https://github.com/codemybrainsout/ahoy-onboarding","last_synced_at":"2026-01-12T14:02:27.577Z","repository":{"id":54893697,"uuid":"68001510","full_name":"codemybrainsout/ahoy-onboarding","owner":"codemybrainsout","description":"Android onboarding library.","archived":false,"fork":false,"pushed_at":"2019-10-16T02:27:56.000Z","size":6621,"stargazers_count":982,"open_issues_count":20,"forks_count":174,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-10-25T21:51:31.428Z","etag":null,"topics":["android","cardview","gradient","onboarding","tutorial","walkthrough"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/codemybrainsout.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}},"created_at":"2016-09-12T11:01:30.000Z","updated_at":"2025-10-12T16:49:58.000Z","dependencies_parsed_at":"2022-08-14T06:00:35.216Z","dependency_job_id":null,"html_url":"https://github.com/codemybrainsout/ahoy-onboarding","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/codemybrainsout/ahoy-onboarding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fahoy-onboarding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fahoy-onboarding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fahoy-onboarding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fahoy-onboarding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemybrainsout","download_url":"https://codeload.github.com/codemybrainsout/ahoy-onboarding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemybrainsout%2Fahoy-onboarding/sbom","scorecard":{"id":296954,"data":{"date":"2025-08-11","repo":{"name":"github.com/codemybrainsout/ahoy-onboarding","commit":"7c91feda44cf3e22f3051ec822a84f84627c8ea3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.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":"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":"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":"Code-Review","score":2,"reason":"Found 3/15 approved changesets -- score normalized to 2","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":"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":"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":"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":"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":"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":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":"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":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 18 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-17T19:47:26.047Z","repository_id":54893697,"created_at":"2025-08-17T19:47:26.048Z","updated_at":"2025-08-17T19:47:26.048Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","cardview","gradient","onboarding","tutorial","walkthrough"],"created_at":"2024-08-02T01:01:52.714Z","updated_at":"2026-01-12T14:02:27.562Z","avatar_url":"https://github.com/codemybrainsout.png","language":"Java","funding_links":[],"categories":["引导图(Intro)","Java"],"sub_categories":[],"readme":"# Ahoy! Onboarding\nOnboarding library for android with Gradient, Image or Solid color backgrounds.\n\n![](preview/preview.gif)\n\n## Installation\n\n### Gradle\nAdd it as a dependency in your app's build.gradle file\n\n```groovy\ndependencies {\n    compile 'com.codemybrainsout.onboarding:onboarder:1.0.4'\n}\n```\n\n## How to use\n\n**First of all, you will have to extend your activity like this**\n\n```java\npublic class YourActivity extends AhoyOnboarderActivity {\n```\n\n**Then, Create `AhoyOnboarderCard` and configure it accordingly**\n\n```java\nAhoyOnboarderCard ahoyOnboarderCard1 = new AhoyOnboarderCard(\"Title\", \"Description\", R.drawable.icon1);\nahoyOnboarderCard1.setBackgroundColor(R.color.black_transparent);\nahoyOnboarderCard1.setTitleColor(R.color.white);\nahoyOnboarderCard1.setDescriptionColor(R.color.grey_200);\nahoyOnboarderCard1.setTitleTextSize(dpToPixels(10, this));\nahoyOnboarderCard1.setDescriptionTextSize(dpToPixels(8, this));\nahoyOnboarderCard1.setIconLayoutParams(iconWidth, iconHeight, marginTop, marginLeft, marginRight, marginBottom);\n```\n\n**After that, Create a list of cards and set them using**\n\n```java\nList\u003cAhoyOnboarderCard\u003e pages = new ArrayList\u003c\u003e();\npages.add(ahoyOnboarderCard1);\npages.add(ahoyOnboarderCard2);\npages.add(ahoyOnboarderCard3);\n...\n\nsetOnboardPages(pages);\n```\n\n### Choose from one of these three background types\n\n- **Gradient Background**\n```java\nsetGradientBackground();\n```\n\n![](preview/preview-gradient.png)\n\n- **Image Background**\n```java\nsetImageBackground(R.drawable.image);\n```\n\n![](preview/preview-image.png)\n\n- **Solid Background**\n\n```java\nList\u003cInteger\u003e colorList = new ArrayList\u003c\u003e();\ncolorList.add(R.color.solid_one);\ncolorList.add(R.color.solid_two);\ncolorList.add(R.color.solid_three);\nsetColorBackground(colorList);\n\n                //or\n\nsetColorBackground(R.color.solid_one);\n```\n\n![](preview/preview-solid.png)\n\n**You can also customise the font to match your app**\n```java\nTypeface face = Typeface.createFromAsset(getAssets(), \"fonts/Roboto-Light.ttf\");\nsetFont(face);\n```\n\n### Landscape mode\n\n![](preview/preview-landscape.png)\n\n### Other properties\n```java\n\n//Show/Hide navigation controls\nshowNavigationControls(false);\n\n//Set pager indicator colors\nsetInactiveIndicatorColor(R.color.grey);\nsetActiveIndicatorColor(R.color.white);\n\n//Set finish button text\nsetFinishButtonTitle(\"Get Started\");\n\n//Set the finish button style\nsetFinishButtonDrawableStyle(ContextCompat.getDrawable(this, R.drawable.rounded_button));\n```\n\n## Thanks\n* [dynamitechetan/Flowing-Gradient](https://github.com/dynamitechetan/Flowing-Gradient)\n* [chyrta/AndroidOnboarder](https://github.com/chyrta/AndroidOnboarder)\n\n## Changelog\n\n### v1.0.1\n\nLandscape layout by [Maxwell](https://github.com/wax911)\n\n### v1.0.2\n\nFinishButtonDrawableStyle by [Maxwell](https://github.com/wax911)\n\n## Support\nIf you've any questions regarding this library, please contact us at help@codemybrainsout.com\n\n## Credits\n\nThis project was initiated by **Code My Brains Out**. You can contribute to this project by submitting issues or/and by forking this repo and sending a pull request.\n\n![](http://codemybrainsout.com/files/img/logo-small.png)\n\nFollow us on:\n\n[![Facebook](http://codemybrainsout.com/files/img/fb.png)](https://www.facebook.com/codemybrainsout)\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;[![Twitter](http://codemybrainsout.com/files/img/tw.png)](https://twitter.com/codemybrainsout)\n\nAuthor: [Rahul Juneja](https://github.com/ahulr)\n\n# License\n```\nCopyright (C) 2016 Code My Brains Out\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemybrainsout%2Fahoy-onboarding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemybrainsout%2Fahoy-onboarding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemybrainsout%2Fahoy-onboarding/lists"}