{"id":25118965,"url":"https://github.com/turfapp/absinthe_rate_limiting","last_synced_at":"2026-03-06T13:04:30.595Z","repository":{"id":275489134,"uuid":"926223510","full_name":"turfapp/absinthe_rate_limiting","owner":"turfapp","description":"Middleware-based rate limiting for Absinthe","archived":false,"fork":false,"pushed_at":"2025-02-03T20:49:47.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-22T08:25:35.446Z","etag":null,"topics":["absinthe","absinthe-graphql","elixir"],"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/turfapp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-02T20:44:43.000Z","updated_at":"2025-02-03T20:49:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ecd481b-82c5-4ccb-b59a-b597b06397c1","html_url":"https://github.com/turfapp/absinthe_rate_limiting","commit_stats":null,"previous_names":["turfapp/absinthe_rate_limiting"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/turfapp/absinthe_rate_limiting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turfapp%2Fabsinthe_rate_limiting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turfapp%2Fabsinthe_rate_limiting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turfapp%2Fabsinthe_rate_limiting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turfapp%2Fabsinthe_rate_limiting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/turfapp","download_url":"https://codeload.github.com/turfapp/absinthe_rate_limiting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/turfapp%2Fabsinthe_rate_limiting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30178286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T12:39:21.703Z","status":"ssl_error","status_checked_at":"2026-03-06T12:36:09.819Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["absinthe","absinthe-graphql","elixir"],"created_at":"2025-02-08T04:23:36.044Z","updated_at":"2026-03-06T13:04:30.578Z","avatar_url":"https://github.com/turfapp.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AbsintheRateLimiting\n\n[![Hex.pm](https://img.shields.io/hexpm/v/absinthe_rate_limiting.svg)](https://hex.pm/packages/absinthe_rate_limiting)\n\n\u003c!-- README START --\u003e\n\n`absinthe_rate_limiting` is a middleware-based rate limiter for\n[Absinthe](https://hexdocs.pm/absinthe/overview.html) that uses\n[Hammer](https://hexdocs.pm/hammer/index.html).\n\n## Installation\n\n`absinthe_rate_limiting` is [available in\nHex](https://hexdocs.pm/absinthe_rate_limiting), and can be installed by adding\n`:absinthe_rate_limiting` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:absinthe_rate_limiting, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Basic usage\n\nTo use the rate limiting middleware, you must first configure Hammer. For example:\n\n```elixir\nconfig :hammer,\n  backend:\n    {Hammer.Backend.ETS, [\n      expiry_ms: 1000 * 60 * 60 * 4,\n      cleanup_interval_ms: 1000 * 60 * 10\n    ]}\n```\n\nSee the [Hammer documentation](https://hexdocs.pm/hammer) for more information.\n\nThe next step is to add the middleware to the query that needs to be rate\nlimited:\n\n```elixir\nfield :my_field, :string do\n  middleware AbsintheRateLimiting.RateLimit\n  resolve \u0026MyApp.Resolvers.my_field/3\nend\n```\n\nFor the full usage information, see `AbsintheRateLimiting.RateLimit`.\n\n\u003c!-- README END --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturfapp%2Fabsinthe_rate_limiting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturfapp%2Fabsinthe_rate_limiting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturfapp%2Fabsinthe_rate_limiting/lists"}