{"id":29049292,"url":"https://github.com/configcat/openfeature-kotlin","last_synced_at":"2025-07-23T00:05:53.799Z","repository":{"id":299229991,"uuid":"992620367","full_name":"configcat/openfeature-kotlin","owner":"configcat","description":"ConfigCat OpenFeature Provider for Kotlin.","archived":false,"fork":false,"pushed_at":"2025-06-15T12:26:34.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T19:07:48.628Z","etag":null,"topics":["configcat","feature-flagging","feature-flags","feature-toggles","kotlin","kotlin-android","open-feature","openfeature"],"latest_commit_sha":null,"homepage":"https://configcat.com/docs/sdk-reference/openfeature/kotlin","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/configcat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-29T12:57:03.000Z","updated_at":"2025-06-15T12:26:37.000Z","dependencies_parsed_at":"2025-06-15T13:55:51.771Z","dependency_job_id":"e5be2cc7-4da1-49a0-9ba7-759538136afc","html_url":"https://github.com/configcat/openfeature-kotlin","commit_stats":null,"previous_names":["configcat/openfeature-kotlin"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/configcat/openfeature-kotlin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/configcat","download_url":"https://codeload.github.com/configcat/openfeature-kotlin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/configcat%2Fopenfeature-kotlin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266592209,"owners_count":23953109,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["configcat","feature-flagging","feature-flags","feature-toggles","kotlin","kotlin-android","open-feature","openfeature"],"created_at":"2025-06-26T19:07:47.038Z","updated_at":"2025-07-23T00:05:53.769Z","avatar_url":"https://github.com/configcat.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConfigCat OpenFeature Provider for Kotlin\n\n[![CI](https://github.com/configcat/openfeature-kotlin/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/configcat/openfeature-kotlin/actions/workflows/ci.yml)\n[![Maven Central](https://img.shields.io/maven-central/v/com.configcat/configcat-openfeature-provider?label=maven%20central)](https://central.sonatype.com/artifact/com.configcat/configcat-openfeature-provider)\n\nThis repository contains an OpenFeature provider that allows [ConfigCat](https://configcat.com) to be used with\nthe [OpenFeature Kotlin SDK](https://github.com/open-feature/kotlin-sdk).\n\n## Installation\n\n```kotlin\ndependencies {\n    implementation(\"com.configcat:configcat-openfeature-provider:$providerVersion\")\n}\n```\n\n## Usage\n\nThe `ConfigCatProvider` function takes the SDK key and an optional `ConfigCatOptions`\nargument containing the additional configuration options for\nthe [ConfigCat Kotlin SDK](https://github.com/configcat/kotlin-sdk):\n\n```kotlin\nimport com.configcat.*\nimport dev.openfeature.sdk.*\n\ncoroutineScope.launch(Dispatchers.IO) {\n    // Configure the provider.\n    val provider = ConfigCatProvider(\"\u003cYOUR-CONFIGCAT-SDK-KEY\u003e\") {\n        pollingMode = autoPoll { pollingInterval = 60.seconds }\n    }\n\n    // Configure the OpenFeature API with the ConfigCat provider.\n    OpenFeatureAPI.setProviderAndWait(provider)\n\n    // Create a client.\n    val client = OpenFeatureAPI.getClient()\n\n    // Evaluate feature flag.\n    val isAwesomeFeatureEnabled = client.getBooleanValue(\"isAwesomeFeatureEnabled\", false)\n}\n```\n\nFor more information about all the configuration options, see\nthe [Kotlin SDK documentation](https://configcat.com/docs/sdk-reference/kotlin/#setting-up-the-configcat-client).\n\n## Need help?\n\nhttps://configcat.com/support\n\n## Contributing\n\nContributions are welcome. For more info please read the [Contribution Guideline](CONTRIBUTING.md).\n\n## About ConfigCat\n\nConfigCat is a feature flag and configuration management service that lets you separate releases from deployments. You\ncan turn your features ON/OFF using \u003ca href=\"https://app.configcat.com\" target=\"_blank\"\u003eConfigCat Dashboard\u003c/a\u003e even\nafter they are deployed. ConfigCat lets you target specific groups of users based on region, email or any other custom\nuser attribute.\n\nConfigCat is a \u003ca href=\"https://configcat.com\" target=\"_blank\"\u003ehosted feature flag service\u003c/a\u003e. Manage feature toggles\nacross frontend, backend, mobile, desktop apps. \u003ca href=\"https://configcat.com\" target=\"_blank\"\u003eAlternative to\nLaunchDarkly\u003c/a\u003e. Management app + feature flag SDKs.\n\n- [Official ConfigCat SDKs for other platforms](https://github.com/configcat)\n- [Documentation](https://configcat.com/docs)\n- [Blog](https://configcat.com/blog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfigcat%2Fopenfeature-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconfigcat%2Fopenfeature-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfigcat%2Fopenfeature-kotlin/lists"}