{"id":13566533,"url":"https://github.com/profunktor/redis4cats","last_synced_at":"2026-04-09T04:04:58.719Z","repository":{"id":37773891,"uuid":"137655323","full_name":"profunktor/redis4cats","owner":"profunktor","description":":bookmark: Redis client built on top of Cats Effect, Fs2 and Lettuce","archived":false,"fork":false,"pushed_at":"2026-04-06T19:58:15.000Z","size":10308,"stargazers_count":366,"open_issues_count":7,"forks_count":91,"subscribers_count":11,"default_branch":"series/2.x","last_synced_at":"2026-04-06T21:27:00.626Z","etag":null,"topics":["cats-effect","client","effects","fs2","lettuce","redis","scala","stream","streaming"],"latest_commit_sha":null,"homepage":"https://redis4cats.profunktor.dev/","language":"Scala","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/profunktor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-17T13:00:52.000Z","updated_at":"2026-04-06T19:58:19.000Z","dependencies_parsed_at":"2023-09-24T12:54:39.301Z","dependency_job_id":"ab6d4c5c-b7a5-4683-943b-c51bf89b5bfb","html_url":"https://github.com/profunktor/redis4cats","commit_stats":null,"previous_names":["gvolpe/fs2-redis"],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/profunktor/redis4cats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profunktor%2Fredis4cats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profunktor%2Fredis4cats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profunktor%2Fredis4cats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profunktor%2Fredis4cats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profunktor","download_url":"https://codeload.github.com/profunktor/redis4cats/tar.gz/refs/heads/series/2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profunktor%2Fredis4cats/sbom","scorecard":{"id":450641,"data":{"date":"2025-08-11","repo":{"name":"github.com/profunktor/redis4cats","commit":"611198ea6f996c9e80779b02ceb94492bf04921b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.5,"checks":[{"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":"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":"Code-Review","score":4,"reason":"Found 11/27 approved changesets -- score normalized to 4","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":"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":"Maintained","score":10,"reason":"30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-site.yml:1","Warn: no topLevel permission defined: .github/workflows/release-drafter.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"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/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/ci.yml/series/2.x?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/ci.yml/series/2.x?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/ci.yml/series/2.x?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/ci.yml/series/2.x?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-site.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/publish-site.yml/series/2.x?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-site.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/publish-site.yml/series/2.x?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish-site.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/publish-site.yml/series/2.x?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/release-drafter.yml/series/2.x?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/release.yml/series/2.x?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/release.yml/series/2.x?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/profunktor/redis4cats/release.yml/series/2.x?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 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":"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":"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: 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":-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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:14"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 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-19T08:07:30.926Z","repository_id":37773891,"created_at":"2025-08-19T08:07:30.926Z","updated_at":"2025-08-19T08:07:30.926Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31584834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["cats-effect","client","effects","fs2","lettuce","redis","scala","stream","streaming"],"created_at":"2024-08-01T13:02:11.474Z","updated_at":"2026-04-09T04:04:58.706Z","avatar_url":"https://github.com/profunktor.png","language":"Scala","readme":"redis4cats\n==========\n\n[![CI Status](https://github.com/profunktor/redis4cats/workflows/Scala/badge.svg)](https://github.com/profunktor/redis4cats/actions)\n[![Gitter Chat](https://badges.gitter.im/profunktor-dev/redis4cats.svg)](https://gitter.im/profunktor-dev/redis4cats)\n[![Maven Central](https://img.shields.io/maven-central/v/dev.profunktor/redis4cats-effects_2.12.svg)](http://search.maven.org/#search%7Cga%7C1%7Credis4cats-effects) \u003ca href=\"https://typelevel.org/cats/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/typelevel/cats/c23130d2c2e4a320ba4cde9a7c7895c6f217d305/docs/src/main/resources/microsite/img/cats-badge.svg\" height=\"40px\" align=\"right\" alt=\"Cats friendly\" /\u003e\u003c/a\u003e\n[![Scala Steward badge](https://img.shields.io/badge/Scala_Steward-helping-brightgreen.svg?style=flat\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAVFBMVEUAAACHjojlOy5NWlrKzcYRKjGFjIbp293YycuLa3pYY2LSqql4f3pCUFTgSjNodYRmcXUsPD/NTTbjRS+2jomhgnzNc223cGvZS0HaSD0XLjbaSjElhIr+AAAAAXRSTlMAQObYZgAAAHlJREFUCNdNyosOwyAIhWHAQS1Vt7a77/3fcxxdmv0xwmckutAR1nkm4ggbyEcg/wWmlGLDAA3oL50xi6fk5ffZ3E2E3QfZDCcCN2YtbEWZt+Drc6u6rlqv7Uk0LdKqqr5rk2UCRXOk0vmQKGfc94nOJyQjouF9H/wCc9gECEYfONoAAAAASUVORK5CYII=)](https://scala-steward.org)\n\nRedis client built on top of [Cats Effect](https://typelevel.org/cats-effect/), [Fs2](http://fs2.io/) and the async Java client [Lettuce](https://lettuce.io/).\n\n### Quick Start\n\n```scala\nimport cats.effect.*\nimport cats.implicits.*\nimport dev.profunktor.redis4cats.Redis\nimport dev.profunktor.redis4cats.effect.Log.Stdout.given\n\nobject QuickStart extends IOApp.Simple:\n\n  val run: IO[Unit] =\n    Redis[IO].utf8(\"redis://localhost\").use: redis =\u003e\n      for\n        _ \u003c- redis.set(\"foo\", \"123\")\n        x \u003c- redis.get(\"foo\")\n        _ \u003c- redis.setNx(\"foo\", \"should not happen\")\n        y \u003c- redis.get(\"foo\")\n        _ \u003c- IO(assert(x === y))\n      yield ()\n```\n\nThe API is quite stable and *heavily used in production*. However, binary compatibility is not guaranteed across versions for now.\n\nIf you like it, give it a ⭐ ! If you think we could do better, please [let us know](https://gitter.im/profunktor-dev/redis4cats)!\n\n### Versions\n\nThe `1.x.x` series is built on Cats Effect 3 whereas the `0.x.x` series is built on Cats Effect 2.\n\n### Dependencies\n\nAdd this to your `build.sbt` for the [Effects API](https://redis4cats.profunktor.dev/effects/) (depends on `cats-effect`):\n\n```\nlibraryDependencies += \"dev.profunktor\" %% \"redis4cats-effects\" % Version\n```\n\nAdd this for the [Streams API](https://redis4cats.profunktor.dev/streams/) (depends on `fs2` and `cats-effect`):\n\n```\nlibraryDependencies += \"dev.profunktor\" %% \"redis4cats-streams\" % Version\n```\n\n### Log4cats support\n\n`redis4cats` needs a logger for internal use and provides instances for `log4cats`. It is the recommended logging library:\n\n```\nlibraryDependencies += \"dev.profunktor\" %% \"redis4cats-log4cats\" % Version\n```\n\n## Running the tests locally\n\nStart both a single Redis node and a cluster using `docker-compose`:\n\n```bash\n\u003e docker-compose up\n\u003e sbt +test\n```\n\nIf you are trying to run cluster mode tests on macOS you might receive host not found errors. As a workaround add\nnew environment variable in `docker-compose.yml` for `RedisCluster`: `IP=0.0.0.0`\n\nThe environment section should look like this:\n```\n    environment:\n      - INITIAL_PORT=30001\n      - DEBUG=false\n      - IP=0.0.0.0\n```\n\n## Code of Conduct\n\nSee the [Code of Conduct](https://redis4cats.profunktor.dev/CODE_OF_CONDUCT)\n\n## Contribution Guidelines\n\nThis project tracks Redis 8\nFor the Valkey fork please see [Valkey4Cats](https://github.com/profunktor/valkey4cats)\n\n## LICENSE\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this project except in compliance with\nthe License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an\n\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific\nlanguage governing permissions and limitations under the License.\n","funding_links":[],"categories":["Scala","\u003ca name=\"Scala\"\u003e\u003c/a\u003eScala"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofunktor%2Fredis4cats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofunktor%2Fredis4cats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofunktor%2Fredis4cats/lists"}