Hacker News new | past | comments | ask | show | jobs | submit login

Curious: Are there any OSS entitlement management systems or libraries out there?



Unleash is an amazing open source feature management tool:

https://www.getunleash.io/

It would probably take some effort to hook it up to whatever billing platform you use, but it would make it easy to turn certain features on/off based on billing. Instead of checking if a customer has a specific plan, you instead have Unleash handle the features that are on/off and then check for those flags in the code.


Source code at https://github.com/Unleash/unleash

Setup instructions and SDKs for a number of languages in the README.


Thanks for the link - am I getting it right that this is a Feature Flag system akin https://www.growthbook.io/ and PostHog Flags (also OSS)? At least I got this impression from their landing page.


It looks similar, but Unleash has a lot of really awesome features that let you configure rules for when flags are enabled/disabled. Stuff like turning them on for specific domains or customer or any other metadata you can feed into it.


I'm curious why one would want a "system" or a "library"?

I run a SaaS which has a feature system. Every plan has a set of features. There are additionally feature overrides for users. Checking if a feature is available to a user is a set membership query.

With a couple more lines of code I also generate my entire pricing (plan comparison) page, so that each plan shows all available features.

Not sure where a library would provide any value, there is barely any code for this (I mean, it's Clojure, so it's very succinct and expressive, but still).




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: