Feature flags separate two things that are usually tied together: deploying code and turning it on. With a flag, the new checkout can be merged and deployed while it is still off, enabled for the team first, then for 10% of users, then for everyone, and switched off in seconds if something goes wrong.
The idea is simple, but a flag system that works needs more than an if and a config file. The same user must get the same answer on every request and on every server. A rollout that grows from 10% to 20% must keep the first 10%. Changes must reach running instances without a redeploy. And checking a flag must not add a network call to every request.
feature-flags is a small self-hosted server that does this, with a Go SDK. The README describes who it is for: teams that want trunk-based development and gradual rollouts without a SaaS bill. It is a single binary and a JSON file, which the README says is enough for dozens of flags and many app instances.
What it does
Flags with variants.…