Hacker News

Ask HN: Open-source feature flag service?

Is there an open-source self-hosted feature flag service (like Launch Darkly, Gatekeeper, etc...)?

I’d rather run my own than have someone else do it, but if you’ve had good experiences with the SaaS options I’d be interested in hearing that too.

17 pointsmasonicb00m posted 4 months ago8 Comments
8 Comments:
sslalready said 4 months ago:

https://github.com/Unleash/unleash

> Unleash is a feature toggle system, that gives you a great overview over all feature toggles across all your applications and services. It comes with official client implementations for Java, Node.js, Go, Ruby and Python.

gshdg said 4 months ago:

Why would you need a service to manage your feature flags?

simplecomplex said 4 months ago:

Ditto. One must already be using a database, so just add a table for features that you flip off and on.

How could that possibly be more work than integrating API calls to a third party service just to ascertain a few (mostly unchanging) values?

masonicb00m said 4 months ago:

When the major tech companies use a piece of infra, it’s likely they have a good reason. Here are some.

- not necessarily using/in control of db - audit log of who toggled which features and when - reporting on users exposed to each feature - A/B test support - toggle features without touching production database - ...

pkaeding said 4 months ago:

This page has some resources that should get you started: http://featureflags.io/resources/

There are lots of open-source feature flag options. Most are probably better thought of as 'libraries' than 'services', but they can definitely get you going with feature flags.

mindcrash said 4 months ago:

Here are two in microservice shape, ready-to-use and ready-to-deploy I am aware of:

https://github.com/checkr/flagr

https://github.com/markphelps/flipt

remilouf said 4 months ago:

I’ve had the same frustration recently and coded a working prototype in Elixir. I’d be happy to share.

macca321 said 4 months ago:

https://bullet-train.io/ looks promising