{"id":28754265,"url":"https://github.com/zeroasterisk/meteor-throttle-accounts","last_synced_at":"2025-06-17T01:08:19.073Z","repository":{"id":29483412,"uuid":"33020571","full_name":"zeroasterisk/Meteor-Throttle-Accounts","owner":"zeroasterisk","description":"An extra layer to simplify throttling of Meteor Accounts","archived":false,"fork":false,"pushed_at":"2016-04-05T03:38:01.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-03-11T05:08:12.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zeroasterisk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-28T04:11:37.000Z","updated_at":"2016-02-24T02:56:58.000Z","dependencies_parsed_at":"2022-08-03T15:20:02.182Z","dependency_job_id":null,"html_url":"https://github.com/zeroasterisk/Meteor-Throttle-Accounts","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/zeroasterisk/Meteor-Throttle-Accounts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroasterisk%2FMeteor-Throttle-Accounts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroasterisk%2FMeteor-Throttle-Accounts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroasterisk%2FMeteor-Throttle-Accounts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroasterisk%2FMeteor-Throttle-Accounts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeroasterisk","download_url":"https://codeload.github.com/zeroasterisk/Meteor-Throttle-Accounts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroasterisk%2FMeteor-Throttle-Accounts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260269462,"owners_count":22983647,"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","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":"2025-06-17T01:08:14.441Z","updated_at":"2025-06-17T01:08:19.042Z","avatar_url":"https://github.com/zeroasterisk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An Extension of zeroasterisk:throttle for Meteor Accounts\n\n* http://throttle-example.meteor.com\n * [https://github.com/zeroasterisk/Meteor-Throttle-Example](https://github.com/zeroasterisk/Meteor-Throttle-Example)\n* main *throttle* package\n * [https://github.com/zeroasterisk/Meteor-Throttle](https://github.com/zeroasterisk/Meteor-Throttle)\n * [Atmosphere Package](https://atmospherejs.com/zeroasterisk/throttle)\n* additiional *throttle* package\n * [https://github.com/zeroasterisk/Meteor-Throttle-Accounts](https://github.com/zeroasterisk/Meteor-Throttle-Accounts)\n * [Atmosphere Package](https://atmospherejs.com/zeroasterisk/throttle-accounts)\n\n\nThis Extension of that package will throttle login attempts and account\ncreation attempts for your site:\n\n## Install\n\n    $ meteor add zeroasterisk:throttle\n    $ meteor add zeroasterisk:throttle-accounts\n\n## Configuration\n\n```\nif (Meteor.isServer) {\n\n  // core Throttle config\n  Throttle.setDebugMode(false);  // default = false\n  Throttle.setScope(\"global\");   // default = global\n  //   NOTE: if you switch to \"user\" here, no other Accounts specific scopes are functional\n\n  // Accounts.validateLoginAttempt()\n  ThrottleAccounts.login('global', 20, 1000, 'Under Heavy Load - too many login attempts');\n  ThrottleAccounts.login('ip', 3, 1000, 'Only 3 Login Attempts from the same IP every second');\n  ThrottleAccounts.login('connection', 8, 10000, 'Only 8 Login Attempts from the same DDP connection every 10 seconds');\n\n  // Accounts.validateNewUser()\n  ThrottleAccounts.create('global', 20, 1000, 'Under Heavy Load - too many accounts created');\n}\n```\n\n## Example\n\nThis is integrated into the Meteor-Throttle example:\n\n* http://throttle-example.meteor.com/\n* https://github.com/zeroasterisk/Meteor-Throttle-Example\n\nProject came from this forum post:\n\nhttps://forums.meteor.com/t/how-to-use-zeroasterisks-throttle-with-softwareros-accountstemplates/2128\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroasterisk%2Fmeteor-throttle-accounts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeroasterisk%2Fmeteor-throttle-accounts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroasterisk%2Fmeteor-throttle-accounts/lists"}