{"id":18980679,"url":"https://github.com/niamtokik/redis","last_synced_at":"2025-04-19T19:14:02.830Z","repository":{"id":52766853,"uuid":"349497495","full_name":"niamtokik/redis","owner":"niamtokik","description":"Redis Protocol Erlang Implementation","archived":false,"fork":false,"pushed_at":"2021-04-19T19:38:28.000Z","size":11,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T12:11:14.013Z","etag":null,"topics":["client","erlang","redis","serialization","serializer","server"],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niamtokik.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-03-19T17:05:19.000Z","updated_at":"2021-04-16T20:52:16.000Z","dependencies_parsed_at":"2022-08-22T04:20:28.870Z","dependency_job_id":null,"html_url":"https://github.com/niamtokik/redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niamtokik%2Fredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niamtokik%2Fredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niamtokik%2Fredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niamtokik%2Fredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niamtokik","download_url":"https://codeload.github.com/niamtokik/redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249239340,"owners_count":21235848,"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":["client","erlang","redis","serialization","serializer","server"],"created_at":"2024-11-08T16:07:30.760Z","updated_at":"2025-04-16T12:31:12.194Z","avatar_url":"https://github.com/niamtokik.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis\n\n`redis` is an application and library implementing redis protocol in\nErlang.\n\n[![Build Status][gh badge]][gh]\n\n## Usage\n\n```sh\nrebar3 shell\n```\n\n### Serializer\n\nEncoding Erlang terms in Redis data format using `redis:encode/1`\nfunction:\n\n```erlang\n% integer\nredis:encode(1).\n\n% simple string\nredis:encode(\u003c\u003c\"test\"\u003e\u003e).\n\n% bulk string\nredis:encode({bulk_string, \u003c\u003c\"test\"\u003e\u003e).\n\n% array\nredis:encode([1,2,3,\u003c\u003c\"test\"\u003e\u003e, {bulk_string, \u003c\u003c\"test\"\u003e\u003e}]).\n\n% error\nredis:encode({error, \u003c\u003c\"my message\"\u003e\u003e}).\n```\n\nDecoding Redis data in Erlang term with `redis:decode/1` function:\n\n```erlang\n% simple string\nredis:decode(\u003c\u003c\"+OK\\r\\n\"\u003e\u003e).\n\n% integer\nredis:decode(\u003c\u003c\":1\\r\\n\"\u003e\u003e).\n\n% bulk string\nredis:decode(\u003c\u003c\"$3\\r\\nfoo\\r\\n\"\u003e\u003e).\n\n% array\nredis:decode(\u003c\u003c\"*0\\r\\n\\r\\n\"\u003e\u003e).\n\n% error\nredis:decode(\u003c\u003c\"-Message\\r\\n\"\u003e\u003e).\n```\n\n### Client\n\nwip.\n\n### Server\n\nwip.\n\n## Test\n\n```sh\nrebar3 eunit\n```\n\n# Resources and References\n\n * https://redis.io/topics/protocol\n\n# About\n\nMade with \u003c3 by Mathieu Kerjouan with [Erlang](erlang.org/) and\n[rebar3](https://www.rebar3.org).\n\n\u003c!-- Badges --\u003e\n[gh]: https://github.com/niamtokik/redis/actions/workflows/main.yml\n[gh badge]: https://img.shields.io/github/workflow/status/niamtokik/redis/CI?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniamtokik%2Fredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniamtokik%2Fredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniamtokik%2Fredis/lists"}