{"id":17713553,"url":"https://github.com/regulad/regulib","last_synced_at":"2026-04-15T14:32:10.950Z","repository":{"id":257971933,"uuid":"872701210","full_name":"regulad/regulib","owner":"regulad","description":"📚 Library of common Android utilities, including data manipulation \u0026 async utils.","archived":false,"fork":false,"pushed_at":"2024-10-24T03:32:27.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-24T17:27:16.364Z","etag":null,"topics":["android","android-library","gradle","kotlin","library","maven","maven-central","utilities"],"latest_commit_sha":null,"homepage":"https://regulad.github.io/regulib/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/regulad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2024-10-14T23:14:14.000Z","updated_at":"2024-10-24T03:32:31.000Z","dependencies_parsed_at":"2024-10-24T04:51:35.004Z","dependency_job_id":null,"html_url":"https://github.com/regulad/regulib","commit_stats":{"total_commits":27,"total_committers":1,"mean_commits":27.0,"dds":0.0,"last_synced_commit":"d463d4da78ef04268e1c0784b96e0728baa0d5c2"},"previous_names":["regulad/regulib"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/regulad/regulib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regulad%2Fregulib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regulad%2Fregulib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regulad%2Fregulib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regulad%2Fregulib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regulad","download_url":"https://codeload.github.com/regulad/regulib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regulad%2Fregulib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266235511,"owners_count":23897181,"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":["android","android-library","gradle","kotlin","library","maven","maven-central","utilities"],"created_at":"2024-10-25T10:05:17.342Z","updated_at":"2026-04-15T14:32:05.912Z","avatar_url":"https://github.com/regulad.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReguLib\n\n[![wakatime](https://wakatime.com/badge/user/85016631-21af-4af7-a0fc-5e8c648e855b/project/aa59aad0-81d4-4764-b2a5-0c86f4f54e31.svg)](https://wakatime.com/badge/user/85016631-21af-4af7-a0fc-5e8c648e855b/project/aa59aad0-81d4-4764-b2a5-0c86f4f54e31)\n\n![Maven Central Version](https://img.shields.io/maven-central/v/xyz.regulad/regulib-common)\n\nReguLib is an Android library used by my Android projects.\n\nIt provides commonly-reused utilities, including:\n\n* Kotlin cold Flow caching\n* Reliable worry-free Bluetooth LE \u0026 WiFi Direct connections\n* Subnet scanning\n* Flow transformation utilities\n* Composable Flow utilities\n* A plethora of Jetpack Compose functions\n* Jetpack Compose \"remember\" functions for system services, like sensors and time\n* Compose layout utils (grids, etc.)\n* QR generation components\n* Mjpeg streams, among other types of streams for Compose\n* Version-agnostic support for Java 1.8 Collection \u0026 Map features under Kotlin WITHOUT desugaring\n* And more!\n\nFor more info, check out the JavaDoc at one of the links below:\n\n* https://regulad.github.io/regulib/common\n* https://regulad.github.io/regulib/ble\n* https://regulad.github.io/regulib/wifi\n* https://regulad.github.io/regulib/compose\n\n## Installation\n\nReguLib is available on Maven Central.\n\nGet the version from the badge above, and add the following to your `build.gradle.kts` per-module file:\n\n```kotlin\ndependencies {\n    implementation(\"xyz.regulad:regulib-common:$version\")\n    implementation(\"xyz.regulad:regulib-ble:$version\")\n    implementation(\"xyz.regulad:regulib-wifi:$version\")\n    implementation(\"xyz.regulad:regulib-compose:$version\")\n}\n```\n\nYou may run into version conflicts if you use other libraries that depend on different versions of Kotlin or other\nlibraries. Check the `gradle/libs.versions.toml` for the versions of dependencies ReguLib relies on.\n\nDue to the size of the libraries, it is highly recommended to set up ProGuard rules to remove unused code.\n\n## Publishing\n\nTo publish a new version of ReguLib, you need to have the following environment variables set:\n\n* `OSSRH_USERNAME`: Your Sonatype username\n* `OSSRH_PASSWORD`: Your Sonatype password\n\nIn addition, you also have to have Gradle signing set up. You can do this by creating a `gradle.properties` file in your\nhome directory with the following contents:\n\n```properties\nsigning.keyId=YOUR_KEY_ID\nsigning.password=YOUR_KEY_PASSWORD\nsigning.secretKeyRingFile=/path/to/your/.gnupg/secring.gpg\n```\n\nThen, you can run the following command to publish:\n\n```shell\n./gradlew publish closeAndReleaseStagingRepositories\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregulad%2Fregulib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregulad%2Fregulib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregulad%2Fregulib/lists"}