{"id":17698517,"url":"https://github.com/pmeinhardt/redis-functions","last_synced_at":"2026-04-17T09:31:32.163Z","repository":{"id":65599605,"uuid":"594737678","full_name":"pmeinhardt/redis-functions","owner":"pmeinhardt","description":"Tiny modules for extending Redis","archived":false,"fork":false,"pushed_at":"2023-02-14T01:37:08.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T01:41:50.675Z","etag":null,"topics":["colors","functions","leaderboard","more","ranking","redis"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/pmeinhardt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-29T13:50:09.000Z","updated_at":"2023-03-05T06:22:48.000Z","dependencies_parsed_at":"2023-02-16T17:01:18.983Z","dependency_job_id":null,"html_url":"https://github.com/pmeinhardt/redis-functions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pmeinhardt/redis-functions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmeinhardt%2Fredis-functions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmeinhardt%2Fredis-functions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmeinhardt%2Fredis-functions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmeinhardt%2Fredis-functions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmeinhardt","download_url":"https://codeload.github.com/pmeinhardt/redis-functions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmeinhardt%2Fredis-functions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["colors","functions","leaderboard","more","ranking","redis"],"created_at":"2024-10-24T15:09:38.979Z","updated_at":"2026-04-17T09:31:32.140Z","avatar_url":"https://github.com/pmeinhardt.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis Functions\n\n[![luacheck](https://github.com/pmeinhardt/redis-functions/actions/workflows/luacheck.yml/badge.svg)](https://github.com/pmeinhardt/redis-functions/actions/workflows/luacheck.yml) [![tests](https://github.com/pmeinhardt/redis-functions/actions/workflows/tests.yml/badge.svg)](https://github.com/pmeinhardt/redis-functions/actions/workflows/tests.yml)\n\nA collection of modules to extend [Redis](https://redis.io/) with additional functions.\n\n## Usage\n\nTo load functions bundled in a module, run:\n\n```sh\ncat module.lua | redis-cli -x FUNCTION LOAD REPLACE\n```\n\nTo list available functions:\n\n```sh\nredis-cli FUNCTION LIST [LIBRARYNAME library-name-pattern]\n```\n\nTo invoke a function:\n\n```sh\nredis-cli FCALL function-name number-of-keys [key ...] [arg ...]\n```\n\nExample:\n\n```sh\ncat modules/hello.lua | redis-cli -x FUNCTION LOAD REPLACE\n\nredis-cli FCALL hello 0\n# \"Hello, World!\"\n\nredis-cli FCALL hello 0 Redis\n# \"Hello, Redis!\"\n```\n\nFor more information on function-related commands, check out the official Redis [docs](https://redis.io/commands/?group=scripting).\n\n## Background\n\nRedis supports persisted and replicated custom [functions](https://redis.io/docs/manual/programmability/functions-intro/) in versions 7.0 and newer. Functions are useful for maintaining a consistent view onto your data through a logical schema. They are (at present) written in [Lua](https://www.lua.org/), using Redis’ [Lua API](https://redis.io/docs/manual/programmability/lua-api/).\n\nIf you are tied to an older version of Redis, you might still be able to re-use code from these modules via Redis [scripting](https://redis.io/docs/manual/programmability/eval-intro/).\n\nIf you need low-level access or more fine-grained control, take a look at the Redis [Modules API](https://redis.io/docs/reference/modules/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmeinhardt%2Fredis-functions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmeinhardt%2Fredis-functions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmeinhardt%2Fredis-functions/lists"}