Hacker News new | ask | show | jobs
Show HN: I made an SDK that lets you rate limit your APIs using a UI (docs.trysixth.com)
3 points by banjoadewole4 703 days ago
I made an SDK that allows you define rules at which you can rate limit your API endpoints using any rule your want and you do so from your dashboard. You can rate limit by a field in the body of your API endpoint, an header, an argument and many more!

All you need to do is install the SDK in your code and it does the following

-> Auto syncs and lists all your API endpoints on your dashboard -> You can click on any of the APIs and select the type of rate limiting rule you want to use -> click save and your endpoint gets automatically ratelimited

2 comments

This is sick! Is it open source?

Would be a massive plus if this runs alongside the webserver (i.e. not a separate entity - ex. alongside FastAPI).

I also think I'd only use it if it's open source since it sees all my traffic.

The SDK itself is open source, but you need an API for authentication, and another cool part is that it sends slack logs of the IP address and the payload of whoever tries to break the rate limting rule. Would you be interested in a 15 minute discussion on how it works? i could drop my calendar if you are interested?
> All you need to do is install the SDK in your code and it does the following

It also requires signing up for the service, correct?

Yes, though the SDK is open-source, you need an API Key for authentication