{"id":14956041,"url":"https://github.com/sirius248/nimble_throttler","last_synced_at":"2026-02-27T05:33:02.809Z","repository":{"id":56885574,"uuid":"103003528","full_name":"sirius248/nimble_throttler","owner":"sirius248","description":"Simple throttler that base on the IP address","archived":false,"fork":false,"pushed_at":"2017-09-10T04:44:52.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-11T18:41:30.555Z","etag":null,"topics":["rack","ruby","rubyonrails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/sirius248.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-10T04:29:00.000Z","updated_at":"2023-03-04T05:57:39.000Z","dependencies_parsed_at":"2022-08-21T00:20:52.871Z","dependency_job_id":null,"html_url":"https://github.com/sirius248/nimble_throttler","commit_stats":null,"previous_names":["kimquy/nimble_throttler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sirius248/nimble_throttler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius248%2Fnimble_throttler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius248%2Fnimble_throttler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius248%2Fnimble_throttler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius248%2Fnimble_throttler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sirius248","download_url":"https://codeload.github.com/sirius248/nimble_throttler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirius248%2Fnimble_throttler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29885810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"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":["rack","ruby","rubyonrails"],"created_at":"2024-09-24T13:12:13.608Z","updated_at":"2026-02-27T05:33:02.792Z","avatar_url":"https://github.com/sirius248.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NimbleThrottler\n\n[![Code Climate](https://codeclimate.com/github/kimquy/nimble_throttler/badges/gpa.svg)](https://codeclimate.com/github/kimquy/nimble_throttler)\n\n[![Build Status](https://travis-ci.org/kimquy/nimble_throttler.svg?branch=master)](https://travis-ci.org/kimquy/nimble_throttler)\n\nNimbleThrottler is very simple ruby gem which allow throttling an certain endpoints.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'nimble_throttler'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install nimble_throttler\n\n## Usage\n\nAdd the following code into `application.rb` of your Rails app.\n\n```ruby\nrequire \"nimble_throttler\"\n\nmodule YourRailsApp\n  class Application \u003c Rails::Application\n    config.middleware.use Rack::NimbleThrottling\n  end\nend\n```\n\nNow you're ready to throttle the endpoints by adding this file `nimble_throttling.rb` into `initializers` folder. Example:\n\n```ruby\nNimbleThrottler.configure do\n  throttle '/testing', limit: 5, period: 1.hours\n  throttle '/awesome', limit: 100, period: 2.hours\n  throttle '/home/page', limit: 100, period: 3.hours\nend\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/kimquy/nimble_throttler. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirius248%2Fnimble_throttler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsirius248%2Fnimble_throttler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirius248%2Fnimble_throttler/lists"}