Volver al ranking

flippercloud/flipper

Rubyflippercloud.io/docs

🐬 Beautiful, performant feature flags for Ruby.

flipperrubyrailsredismysqlpostgresmongodallimemcachedhttpapifeature-flags
Crecimiento de estrellas
Estrellas
4k
Forks
437
Crecimiento semanal
Issues
16
1k2k3k
ago 2023jul 2024jul 2025jul 2026
ArtefactosRubyGemsgem install flipper
README

Flipper Mark

Website | Documentation | Examples | Chat | Twitter | Ruby.social

Flipper

Beautiful, performant feature flags for Ruby and Rails.

Flipper gives you control over who has access to features in your app.

  • Enable or disable features for everyone, specific actors, groups of actors, a percentage of actors, or a percentage of time.
  • Configure your feature flags from the console or a web UI.
  • Regardless of what data store you are using, Flipper can performantly store your feature flags.
  • Use Flipper Cloud to cascade features from multiple environments, share settings with your team, control permissions, keep an audit history, and rollback.

Control your software — don't let it control you.

Installation

Add this line to your application's Gemfile:

gem 'flipper'

You'll also want to pick a storage adapter, for example:

gem 'flipper-active_record'

And then execute:

$ bundle

Or install it yourself with:

$ gem install flipper

Subscribe & Ship

💌  Subscribe - we'll send you short and sweet emails when we release new versions (examples).

Merch

Do you deploy on Fridays? 👕 Get the tee.

Getting Started

Use Flipper#enabled? in your app to check if a feature is enabled.

# check if search is enabled
if Flipper.enabled?(:search, current_user)
  puts 'Search away!'
else
  puts 'No search for you!'
end

All features are disabled by default, so you'll need to explicitly enable them.

# Enable a feature for everyone
Flipper.enable :search

# Enable a feature for a specific actor
Flipper.enable_actor :search, current_user

# Enable a feature for a group of actors
Flipper.enable_group :search, :admin

# Enable a feature for a percentage of actors
Flipper.enable_percentage_of_actors :search, 2

Read more about getting started with Flipper and enabling features.

Flipper Cloud

Like Flipper and want more? Check out Flipper Cloud, which comes with:

  • multiple environments — production, staging, per continent, whatever you need. Every environment inherits from production by default and every project comes with a project overview page that shows each feature and its status in each environment.
  • personal environments — everyone on your team gets a personal environment (that inherits from production) which they can modify however they want without stepping on anyone else's toes.
  • permissions — grant access to everyone in your organization or lockdown each project to particular people. You can even limit access to a particular environment (like production) to specific people.
  • audit history — every feature change and who made it.
  • rollbacks — enable or disable a feature accidentally? No problem. You can roll back to any point in the audit history with a single click.
  • maintenance — we'll keep the lights on for you. We also have handy webhooks and background polling for keeping your app in sync with Cloud, so our availability won't affect yours. All your feature flag reads are local to your app.
  • everything in one place — no need to bounce around from different application UIs or IRB consoles.

Flipper Cloud Screenshot

Cloud is super simple to integrate with Rails (demo app), Sinatra or any other framework.

We also have a free plan that you can use forever.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Run the tests (bundle exec rake). Check out Docker-Compose if you need help getting all the adapters running.
  4. Commit your changes (git commit -am 'Added some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

Releasing

  1. Update the version in lib/flipper/version.rb and commit.
  2. Tag and push: git tag v1.x.x && git push origin v1.x.x
  3. GitHub Actions builds and publishes all gems to RubyGems automatically.
  4. Edit and publish the draft GitHub Release.

Brought To You By

pic @mention area
@jnunemaker @jnunemaker most things
@bkeepers @bkeepers most things
@dpep @dpep tbd
@alexwheeler @alexwheeler api
@thetimbanks @thetimbanks ui
@lazebny @lazebny docker
@pagertree @pagertree sponsor
@kdaigle @kdaigle sponsor
Repositorios relacionados
DarkFlippers/unleashed-firmware

Flipper Zero Unleashed Firmware

CGNU General Public License v3.0jailbreakkeeloq
flipperunleashed.com
21.9k1.9k
flipperdevices/flipperzero-firmware

Flipper Zero firmware source code

CGNU General Public License v3.0nfcrfid
flipper.net
16.3k3.4k
Next-Flip/Momentum-Firmware

🐬 Feature-rich, stable and customizable Flipper Firmware

CGNU General Public License v3.0customcustom-firmware
momentum-fw.dev
8.9k563
SHUR1K-N/Flipper-Zero-Sub-GHz-Jamming-Files

Looking for those jamming files that were removed from custom firmwares? Here they are. Only for educational purposes, of course.

flippersubghz
linktr.ee/shurikenhacks
2.3k232
flipperdevices/Flipper-Android-App

Android Mobile app to rule all Flipper's family

KotlinMIT Licenseandroidflipperzero
forum.flipperzero.one/c/mobile/14
2.2k327
RogueMaster/awesome-flipperzero-withModules

A collection of awesome resources & modules for the Flipper Zero device. Best used with Rogue Master Flipper Zero Custom Firmware.

CCreative Commons Zero v1.0 Universalflipper-zeroflipperzero
patreon.com/RogueMaster
2k188
xMasterX/all-the-plugins

Big plugins pack built for latest flipper firmware (builds in releases for UL only)

CGNU General Public License v3.0fapsflipper
1.5k167
jamisonderek/flipper-zero-tutorials

See README.md for link to Discord & YouTube. I will use this repository for my Flipper Zero projects & wiki.

CMIT Licenseelectronicsflipper
1.4k116
flipperdevices/flipper-application-catalog

Flipper Application Catalog

PythonPyPIfapsflipper
1.1k444
flipperdevices/flipperzero-ufbt

Compact tool for building and debugging applications for Flipper Zero.

PythonPyPIGNU General Public License v3.0fbtflipper
pypi.org/project/ufbt/
1.1k114
oblador/react-native-performance

📐 Monitor and measure React Native performance

TypeScriptnpmMIT Licenseflippermetrics
1.1k48