{"id":37020643,"url":"https://github.com/concordant/c-client","last_synced_at":"2026-01-14T02:24:40.858Z","repository":{"id":57731595,"uuid":"341540125","full_name":"concordant/c-client","owner":"concordant","description":"The Concordant multiplatform library, providing the high-level application-facing API.","archived":false,"fork":false,"pushed_at":"2022-09-17T14:46:28.000Z","size":9445,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-07-03T21:05:21.012Z","etag":null,"topics":["concordant","conflict-free","crdt","crdts","replicated-data-types"],"latest_commit_sha":null,"homepage":"https://concordant.io","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/concordant.png","metadata":{"files":{"readme":"README.dev.md","changelog":"CHANGELOG.md","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":"2021-02-23T12:00:10.000Z","updated_at":"2022-09-10T07:15:47.000Z","dependencies_parsed_at":"2022-09-09T03:01:34.152Z","dependency_job_id":null,"html_url":"https://github.com/concordant/c-client","commit_stats":null,"previous_names":[],"tags_count":8,"template":null,"template_full_name":null,"purl":"pkg:github/concordant/c-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concordant%2Fc-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concordant%2Fc-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concordant%2Fc-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concordant%2Fc-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/concordant","download_url":"https://codeload.github.com/concordant/c-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concordant%2Fc-client/sbom","scorecard":{"id":302139,"data":{"date":"2025-08-11","repo":{"name":"github.com/concordant/c-client","commit":"d32f59f9f85d603c29af3ac2fccc9689172648ff"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"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":0,"reason":"Found 0/20 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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/mirror.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/concordant/c-client/mirror.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/mirror.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/concordant/c-client/mirror.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/mirror.yml:1","Info: no jobLevel write permissions found"],"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":10,"reason":"no dangerous workflow patterns detected","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":10,"reason":"no binaries found in the repo","details":null,"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":"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 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-17T20:57:10.407Z","repository_id":57731595,"created_at":"2025-08-17T20:57:10.407Z","updated_at":"2025-08-17T20:57:10.407Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"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":["concordant","conflict-free","crdt","crdts","replicated-data-types"],"created_at":"2026-01-14T02:24:39.953Z","updated_at":"2026-01-14T02:24:40.850Z","avatar_url":"https://github.com/concordant.png","language":"Kotlin","readme":"# Private releases\n\nDevelopment versions of this library\nare delivered as both Maven packages and NPM packages\nin a private [Gitlab Packages registry](https://gitlab.inria.fr/concordant/software/c-client/-/packages).\n\nTo use it, you will need to authenticate to Gitlab, using either:\n\n- a Gitlab [deploy token](https://docs.gitlab.com/ee/user/project/deploy_tokens/) with at least the `read_package_registry` scope, or\n- a Gitlab [personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) with at least the `read_api` scope.\n\n## Kotlin and Gradle\n\nTo setup authentication, add the token to your gradle properties file\n`~/.gradle/gradle.properties`:\n\n``` shell\ngitlabToken=\u003cdeployOrPersonalToken\u003e\n```\n\nThen, in your project configuration build file `build.gradle.kts`:\n\n- Ensure `mavenCentral()` is listed in the `repositories{}` for usual packages.\n- Add Gitlab to repositories:\n\n``` kotlin\nrepositories {\n    maven {\n        url = uri(\"https://gitlab.inria.fr/api/v4/projects/18591/packages/maven\")\n        credentials(HttpHeaderCredentials::class) {\n            // set to \"Deploy-Token\" here if appropriate\n            name = \"Private-Token\"\n            val gitlabToken: String by project\n            value = gitlabToken\n        }\n        authentication {\n            create\u003cHttpHeaderAuthentication\u003e(\"header\")\n        }\n    }\n}\n\n```\n\n- Add the c-crdtlib Maven package as a dependency:\n\n``` kotlin\ndependencies {\n    implementation(\"concordant:c-crdtlib:x.y.z\")\n}\n```\n\n## JavaScript/TypeScript and NPM\n\nAssociate `@concordant` scope with the private registry\nand setup authentication:\n\n``` shell\nnpm config set @concordant:registry \"https://gitlab.inria.fr/api/v4/packages/npm/\"\nnpm config set '//gitlab.inria.fr/api/v4/packages/npm/:_authToken' \"\u003cdeployOrPersonalToken\u003e\"\n```\n\nThen install the package:\n\n``` shell\nnpm i @concordant/c-client\n```\n\n## Build project\n\nThe build is managed by Gradle.\nKotlin sources (code and tests) are compiled to JVM Bytecode\nand to Javascript as a Node.js package.\n\n`gradle assemble`:\n\n- compiles code and tests to JVM Bytecode;\n- compiles code and tests to Javascript (Node.js package);\n- creates a TypeScript interface\n- assembles a NPM package\n\n`gradle allTests`:\n\n- runs JVM test suite;\n- runs Node.js test suite in a server like manner;\n- a report containing all tests results can be found in the file `build/reports/tests/allTests/index.html`.\n\n`gradle build`:\n\n- compiles code and test.\n\n`gradle pack`:\n\n- pack the NPM package\n\n`gradle publish`:\n\n- publish the Maven and NPM packages (requires authentication ; better use it via CI pipelines).\n\n`gradle dokkaHtml`:\n\n- creates the documentation from code comments;\n- documentation is accessible at `build/dokka/html/crdtlib/index.html`. See `gradle tasks` for variants other than HTML.\n\n`gradle clean`:\n\n- cleans the project.\n\n`gradle tasks`:\n\n- show all available tasks with descriptions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcordant%2Fc-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconcordant%2Fc-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcordant%2Fc-client/lists"}