{"id":18489110,"url":"https://github.com/hachreak/limitless_client_erl","last_synced_at":"2025-07-22T11:36:55.691Z","repository":{"id":139147298,"uuid":"93940248","full_name":"hachreak/limitless_client_erl","owner":"hachreak","description":"An Erlang driver for Limitless distributed rate-limiter.","archived":false,"fork":false,"pushed_at":"2017-06-10T13:18:56.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-31T08:29:54.906Z","etag":null,"topics":["driver","erlang","erlang-libraries","erlang-library","limitless","rate-limiter"],"latest_commit_sha":null,"homepage":"https://github.com/hachreak/limitless_client_erl","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hachreak.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":"2017-06-10T13:18:01.000Z","updated_at":"2018-09-01T10:29:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"e25bb0d0-169a-4ee5-a421-2ccf20f82fc8","html_url":"https://github.com/hachreak/limitless_client_erl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hachreak/limitless_client_erl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Flimitless_client_erl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Flimitless_client_erl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Flimitless_client_erl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Flimitless_client_erl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hachreak","download_url":"https://codeload.github.com/hachreak/limitless_client_erl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hachreak%2Flimitless_client_erl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266485248,"owners_count":23936693,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["driver","erlang","erlang-libraries","erlang-library","limitless","rate-limiter"],"created_at":"2024-11-06T12:55:18.276Z","updated_at":"2025-07-22T11:36:55.638Z","avatar_url":"https://github.com/hachreak.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"limitless_client_erl\n====================\n\nAn Erlang driver for [limitless](https://github.com/hachreak/limitless)\ndistributed rate-limiter.\n\nBuild\n-----\n\n    $ rebar3 compile\n\nRun\n---\n\nRun first the\n[limitless service](https://github.com/hachreak/limitless_service).\nIt's running a complete rate-limiter service.\nYou can run with demo configuration with:\n\n    $ git clone https://github.com/hachreak/limitless_service.git\n    $ cd limitless_service\n    $ make node1\n\nNow, open a new shell and run erlang with:\n\n    $ git clone https://github.com/hachreak/limitless_client_erl.git\n    $ cd limitless_client_erl\n    $ rebar3 shell --config priv/example.config --apps limitless_client_erl\n    1\u003e limitless_client_erl:setup_objectid(mypool, \u003c\u003c\"token1\"\u003e\u003e, \u003c\u003c\"token\"\u003e\u003e).\n    {ok,#{}}\n    2\u003e limitless_client_erl:is_reached_object_id(mypool, \u003c\u003c\"token1\"\u003e\u003e).\n    {ok,#{\u003c\u003c\"info\"\u003e\u003e =\u003e [#{\u003c\u003c\"extra\"\u003e\u003e =\u003e [#{\u003c\u003c\"expiry\"\u003e\u003e =\u003e 86382,\n                \u003c\u003c\"max\"\u003e\u003e =\u003e 1000,\n                \u003c\u003c\"remaining\"\u003e\u003e =\u003e 1000,\n                \u003c\u003c\"type\"\u003e\u003e =\u003e \u003c\u003c\"Token-Daily\"\u003e\u003e},\n              #{\u003c\u003c\"expiry\"\u003e\u003e =\u003e 882,\n                \u003c\u003c\"max\"\u003e\u003e =\u003e 100,\n                \u003c\u003c\"remaining\"\u003e\u003e =\u003e 100,\n                \u003c\u003c\"type\"\u003e\u003e =\u003e \u003c\u003c\"Token-15min\"\u003e\u003e}],\n             \u003c\u003c\"is_reached\"\u003e\u003e =\u003e false}],\n          \u003c\u003c\"is_reached\"\u003e\u003e =\u003e false}}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhachreak%2Flimitless_client_erl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhachreak%2Flimitless_client_erl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhachreak%2Flimitless_client_erl/lists"}