I've been looking into using Unleash (https://www.getunleash.io/) for this sort of thing. Seems like that would be a better option than rolling-your-own, particularly if you have the infrastructure for it. I haven't actually gotten too deep into it to know what limitations might come with using it. Does anyone have any experience with it?
Shameless plug (it's my project!), but there's also Flagsmith - https://github.com/Flagsmith/flagsmith
For completeness, the other OS projects I know of are:
- https://github.com/markphelps/flipt