[GH-ISSUE #1065] feat: use hono-rate-limiter #8577

Closed
opened 2026-04-13 03:41:48 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @MathurAditya724 on GitHub (Dec 30, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1065

Is this suited for github?

  • Yes, this is suited for github

No response

Describe the solution you'd like

Just a suggestion, should we shift from a custom rate limit implementation to hono-rate-limiter? We can keep the API same but it will be proxied to hono-rate-limiter. The lib also supports multiple providers for rate limiting, you can take a look here - https://github.com/rhinobase/hono-rate-limiter

That way the rate limiting logic can be managed by the lib in place of here.

Describe alternatives you've considered

I know you already have a Secondary storage system to deal with this. that is why this is just a suggestion.

Additional context

I am the creator of this lib, so I can help you with the PR too

Originally created by @MathurAditya724 on GitHub (Dec 30, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1065 ### Is this suited for github? - [X] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. _No response_ ### Describe the solution you'd like Just a suggestion, should we shift from a custom rate limit implementation to `hono-rate-limiter`? We can keep the API same but it will be proxied to `hono-rate-limiter`. The lib also supports multiple providers for rate limiting, you can take a look here - https://github.com/rhinobase/hono-rate-limiter That way the rate limiting logic can be managed by the lib in place of here. ### Describe alternatives you've considered I know you already have a Secondary storage system to deal with this. that is why this is just a suggestion. ### Additional context I am the creator of this lib, so I can help you with the PR too
GiteaMirror added the locked label 2026-04-13 03:41:48 -05:00
Author
Owner

@MathurAditya724 commented on GitHub (Mar 9, 2025):

I read the docs, and we can apply hono-rate-limiter to it. Closing this issue.

<!-- gh-comment-id:2709070034 --> @MathurAditya724 commented on GitHub (Mar 9, 2025): I read the docs, and we can apply `hono-rate-limiter` to it. Closing this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8577