{"id":20504789,"url":"https://github.com/libchecker/libchecker-rules-bundle","last_synced_at":"2025-04-13T20:50:38.924Z","repository":{"id":41148380,"uuid":"469028685","full_name":"LibChecker/LibChecker-Rules-Bundle","owner":"LibChecker","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-08T10:04:41.000Z","size":596,"stargazers_count":16,"open_issues_count":9,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-08T11:22:39.792Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/LibChecker.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":"2022-03-12T08:47:54.000Z","updated_at":"2025-03-29T19:22:04.000Z","dependencies_parsed_at":"2023-10-05T05:55:09.521Z","dependency_job_id":"71a39324-1945-4a90-8f46-1438bcbc05f6","html_url":"https://github.com/LibChecker/LibChecker-Rules-Bundle","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibChecker%2FLibChecker-Rules-Bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibChecker%2FLibChecker-Rules-Bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibChecker%2FLibChecker-Rules-Bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibChecker%2FLibChecker-Rules-Bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibChecker","download_url":"https://codeload.github.com/LibChecker/LibChecker-Rules-Bundle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782278,"owners_count":21160716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-15T19:40:09.200Z","updated_at":"2025-04-13T20:50:38.885Z","avatar_url":"https://github.com/LibChecker.png","language":"Kotlin","readme":"# LibChecker-Rules-Bundle\n\n[![](https://jitpack.io/v/LibChecker/LibChecker-Rules-Bundle.svg)](https://jitpack.io/v/LibChecker/LibChecker-Rules-Bundle.svg)\n\nMake it easy to use [LibChecker](https://github.com/LibChecker/LibChecker) marked libraries rules in your apps.\n\n## Download\n\n```groovy\nrepositories {\n    maven { url 'https://jitpack.io' }\n}\ndependencies {\n    implementation \"com.github.LibChecker:LibChecker-Rules-Bundle:${latest_version}\"\n\n    // Required: AndroidX Room\n    implementation 'androidx.room:room-runtime:2.5.0'\n    implementation 'androidx.room:room-ktx:2.5.0'\n\n    // Required: Kotlin Coroutines\n    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'\n}\n```\n\n## Quick Tutorial\n\nInitialize SDK in `Application` class\n```kotlin\nclass App : Application() {\n\n  override fun onCreate() {\n    super.onCreate()\n    LCRules.init(this)\n    \n    // Optional: set online repo (GitHub repo as default)\n    LCRules.setRemoteRepo(LCRemoteRepo.GitHub)\n    \n    // WIP: set rules locale\n    LCRules.setLocale(LCLocale.ZH)\n  }\n```\n\nGet marked rule\n```kotlin\n// Native library\nval rule: Rule = LCRules.getRule(name = \"libflutter.so\", type = NATIVE, useRegex = false)\n\n// Activity library\nval rule2: Rule = LCRules.getRule(name = \"androidx.compose.ui.tooling.PreviewActivity\", type = ACTIVITY, useRegex = false)\n\n// Query library with RegEx\nval rule3: Rule = LCRules.getRule(name = \"libAMapSDK_MAP_v7_9_1.so\", type = NATIVE, useRegex = true)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibchecker%2Flibchecker-rules-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibchecker%2Flibchecker-rules-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibchecker%2Flibchecker-rules-bundle/lists"}