Flipper is an open-source Ruby library for feature flags. It controls access per actor, group, percentage, or time, with pluggable storage and an optional web UI.
Overview
Flipper lets Ruby and Rails applications turn features on or off without redeploying. Flags can apply to everyone, specific actors, groups, a percentage of actors, or a percentage of time. Code checks Flipper.enabled? before running new or risky paths.
Storage adapters cover ActiveRecord, Redis, Mongo, Memcached, and other backends so flags stay fast at read time. flipper-ui adds a browser UI for operators; settings can also be changed from the console. Named instances allow separate flag sets in one app.
Flipper Cloud is an optional hosted service for multi-environment sync, permissions, audit history, rollbacks, and team workflows. The open-source gem works without Cloud; Cloud reads can be served from in-process memory with polling or webhooks from the hosted control plane.
The design emphasizes isolating code behind flags, shipping incrementally, and disabling features quickly when needed. Documentation covers adapters, testing, API, UI, and Cloud configuration.
Key features
- Per-actor and group enablement
- Percentage and time rollouts
- Multiple storage adapters
- Optional flipper-ui web UI
- Rails and plain Ruby integration
- Named independent flag instances
- Flipper Cloud sync option
- In-memory performant reads
Use cases
- Safe production feature launches
- Kill switches without redeploy
- Gradual percentage rollouts
- Per-customer feature access
- Multi-environment flag management