{"id":20941745,"url":"https://github.com/ikeikeikeike/redisank","last_synced_at":"2026-05-20T05:34:48.368Z","repository":{"id":57542235,"uuid":"75473605","full_name":"ikeikeikeike/redisank","owner":"ikeikeikeike","description":"A common ranking system on Redis with Plug.","archived":false,"fork":false,"pushed_at":"2017-01-25T17:49:21.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T15:06:30.977Z","etag":null,"topics":["elixir","redis"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/ikeikeikeike.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":"2016-12-03T12:55:54.000Z","updated_at":"2018-10-28T16:53:44.000Z","dependencies_parsed_at":"2022-09-26T18:31:09.044Z","dependency_job_id":null,"html_url":"https://github.com/ikeikeikeike/redisank","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ikeikeikeike/redisank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fredisank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fredisank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fredisank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fredisank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikeikeikeike","download_url":"https://codeload.github.com/ikeikeikeike/redisank/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikeikeikeike%2Fredisank/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269713883,"owners_count":24463244,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["elixir","redis"],"created_at":"2024-11-18T23:17:48.732Z","updated_at":"2026-05-20T05:34:43.346Z","avatar_url":"https://github.com/ikeikeikeike.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redisank\n\nA common ranking system on Redis with Plug\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed as:\n\n  1. Add `redisank` to your list of dependencies in `mix.exs`:\n\n    ```elixir\n    def deps do\n      [{:redisank, \"~\u003e 0.1.0\"}]\n    end\n    ```\n\n  2. Ensure `redisank` is started before your application:\n\n    ```elixir\n    def application do\n      [applications: [:redisank]]\n    end\n    ```\n\n```elixir\nRanking.top :weekly\nRanking.top :monthly\nRanking.top :quarterly\nRanking.top :biannually\nRanking.top :yearly\nRanking.top :all\n\nfrom = :calendar.local_time\nRanking.del from, to, :daily\nRanking.del from, to, :weekly\nRanking.del from, to, :monthly\n\nRanking.sum :weekly\nRanking.sum :monthly\nRanking.sum :quarterly\nRanking.sum :biannually\nRanking.sum :yearly\nRanking.sum :all\n```\n\noptional\n\n```elixir\nplug Redisank.Plug.Access, [key: \"id\"] when action in [:show]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikeikeikeike%2Fredisank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikeikeikeike%2Fredisank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikeikeikeike%2Fredisank/lists"}