{"id":15131034,"url":"https://github.com/cylix/cpp_redis","last_synced_at":"2025-09-28T21:30:44.026Z","repository":{"id":44375171,"uuid":"38889153","full_name":"Cylix/cpp_redis","owner":"Cylix","description":"C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform - NO LONGER MAINTAINED - Please check https://github.com/cpp-redis/cpp_redis","archived":true,"fork":false,"pushed_at":"2019-04-01T09:32:16.000Z","size":2088,"stargazers_count":1242,"open_issues_count":32,"forks_count":551,"subscribers_count":87,"default_branch":"master","last_synced_at":"2024-09-27T03:21:18.897Z","etag":null,"topics":["asynchronous","cpp","cpp11","multi-platform","no-dependencies","redis","redis-client","unix","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Cylix.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":null,"security":null,"support":null}},"created_at":"2015-07-10T15:59:20.000Z","updated_at":"2024-09-26T22:29:25.000Z","dependencies_parsed_at":"2022-07-13T00:50:53.627Z","dependency_job_id":null,"html_url":"https://github.com/Cylix/cpp_redis","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cylix%2Fcpp_redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cylix%2Fcpp_redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cylix%2Fcpp_redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cylix%2Fcpp_redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cylix","download_url":"https://codeload.github.com/Cylix/cpp_redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234563131,"owners_count":18853058,"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":["asynchronous","cpp","cpp11","multi-platform","no-dependencies","redis","redis-client","unix","windows"],"created_at":"2024-09-26T03:21:37.097Z","updated_at":"2025-09-28T21:30:37.463Z","avatar_url":"https://github.com/Cylix.png","language":"C++","readme":"# Important\n\nPlease be advised that this library **is no longer maintained**.\n\n**For new updates, please refer to the following fork https://github.com/cpp-redis/cpp_redis**\n\nI have maintained this library for over 3 years, but I do not have enough time to provide a reliable support and continuous development for any longer.\n\nAny existing or new issues will **not** be treated and I do not guarantee to merge any new pull request.\n\nIf anyone is willing to take over this project, feel free to fork this project and message me to add a link to your fork in this README.\n\n\u003cp align=\"center\"\u003e\n   \u003cimg src=\"https://raw.githubusercontent.com/Cylix/cpp_redis/master/assets/images/cpp_redis_logo.jpg\"/\u003e\n\u003c/p\u003e\n\n# cpp_redis [![Build Status](https://travis-ci.org/Cylix/cpp_redis.svg?branch=master)](https://travis-ci.org/Cylix/cpp_redis) [![Build status](https://ci.appveyor.com/api/projects/status/d45yqju539t97s4m?svg=true)](https://ci.appveyor.com/project/Cylix/cpp-redis)\n`cpp_redis` is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations, pipelining, sentinels and high availability.\n\n## Requirement\n`cpp_redis` has **no dependency**. Its only requirement is `C++11`.\n\nIt comes with no network module, so you are free to configure your own, or to use the default one ([tacopie](https://github.com/cylix/tacopie))\n\n## Example\n### cpp_redis::client\n```cpp\ncpp_redis::client client;\n\nclient.connect();\n\nclient.set(\"hello\", \"42\");\nclient.get(\"hello\", [](cpp_redis::reply\u0026 reply) {\n  std::cout \u003c\u003c reply \u003c\u003c std::endl;\n});\n//! also support std::future\n//! std::future\u003ccpp_redis::reply\u003e get_reply = client.get(\"hello\");\n\nclient.sync_commit();\n//! or client.commit(); for asynchronous call\n```\n`cpp_redis::client` [full documentation](https://github.com/Cylix/cpp_redis/wiki/Redis-Client) and [detailed example](https://github.com/Cylix/cpp_redis/wiki/Examples#redis-client).\nMore about [cpp_redis::reply](https://github.com/Cylix/cpp_redis/wiki/Replies).\n\n### cpp_redis::subscriber\n```cpp\ncpp_redis::subscriber sub;\n\nsub.connect();\n\nsub.subscribe(\"some_chan\", [](const std::string\u0026 chan, const std::string\u0026 msg) {\n  std::cout \u003c\u003c \"MESSAGE \" \u003c\u003c chan \u003c\u003c \": \" \u003c\u003c msg \u003c\u003c std::endl;\n});\nsub.psubscribe(\"*\", [](const std::string\u0026 chan, const std::string\u0026 msg) {\n  std::cout \u003c\u003c \"PMESSAGE \" \u003c\u003c chan \u003c\u003c \": \" \u003c\u003c msg \u003c\u003c std::endl;\n});\n\nsub.commit();\n\n```\n`cpp_redis::subscriber` [full documentation](https://github.com/Cylix/cpp_redis/wiki/Redis-Subscriber) and [detailed example](https://github.com/Cylix/cpp_redis/wiki/Examples#redis-subscriber).\n\n## Wiki\nA [Wiki](https://github.com/Cylix/cpp_redis/wiki) is available and provides full documentation for the library as well as [installation explanations](https://github.com/Cylix/cpp_redis/wiki/Installation).\n\n# Doxygen\nA [Doxygen documentation](https://cylix.github.io/cpp_redis/html/) is available and provides full API documentation for the library.\n\n## License\n`cpp_redis` is under [MIT License](LICENSE).\n\n## Contributing\nPlease refer to [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Special Thanks\n[Mike Moening](https://github.com/MikesAracade) for his unexpected and incredible great work aiming to port cpp_redis on Windows, provides sentinel support and high availability support!\n\n## Author\n[Simon Ninon](http://simon-ninon.fr)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcylix%2Fcpp_redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcylix%2Fcpp_redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcylix%2Fcpp_redis/lists"}