{"id":20842838,"url":"https://github.com/mudge/helloredis","last_synced_at":"2026-04-27T07:33:10.556Z","repository":{"id":1393385,"uuid":"1387722","full_name":"mudge/helloredis","owner":"mudge","description":"An incomplete Ruby FFI interface to hiredis for educational purposes.","archived":false,"fork":false,"pushed_at":"2011-02-22T21:49:51.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-19T12:37:55.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"chrispederick/web-developer","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mudge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-19T22:59:38.000Z","updated_at":"2013-09-30T10:57:16.000Z","dependencies_parsed_at":"2022-08-16T13:15:18.502Z","dependency_job_id":null,"html_url":"https://github.com/mudge/helloredis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mudge/helloredis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhelloredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhelloredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhelloredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhelloredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudge","download_url":"https://codeload.github.com/mudge/helloredis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhelloredis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32327701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":[],"created_at":"2024-11-18T01:25:41.242Z","updated_at":"2026-04-27T07:33:09.350Z","avatar_url":"https://github.com/mudge.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is an incomplete, experimental Ruby FFI interface to [Hiredis][0].\n\nIt exists mainly as a tool to teach me about [Ruby's FFI interface][1] and, as such,\nthe location of the `libhiredis` library is hard-coded into `hiredis.rb` as being\n`/usr/local/lib`. If you want to tinker with this yourself, make sure to amend that\npath as necessary.\n\nPrerequisites\n=============\n\n* [Hiredis][0] 0.9.2 installed to `/usr/local/lib`.\n\nUsage\n=====\n\n    # With the project's lib directory on your load path...\n    require \"helloredis\"\n\n    redis = Helloredis.new # defaults to connecting to 127.0.0.1:6379\n    redis.set(\"foo\", \"bar\")\n    # =\u003e \"OK\"\n    redis.get(\"foo\")\n    # =\u003e \"bar\"\n    redis.lpush(\"mylist\", \"arnold\")\n    # =\u003e 1\n    redis.lpush(\"mylist\", \"bob\")\n    # =\u003e 2\n    redis.sort(\"mylist\", :alpha =\u003e true, :order =\u003e :desc, :count =\u003e 1, :offset =\u003e 0)\n    # =\u003e [\"bob\"]\n\nSee `spec/helloredis_spec.rb` for more usage information.\n\n  [0]: https://github.com/antirez/hiredis\n  [1]: https://github.com/ffi/ffi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudge%2Fhelloredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudge%2Fhelloredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudge%2Fhelloredis/lists"}