flipper
Version, currently 0.2.03 versions
- 0.2.0latestAug 13, 2017
- 0.1.0not indexedNov 28, 2018
- 0.1not indexedNov 28, 2018
github.com/metaware/flipper
Feature Flipper, Feature Flags, Rollout Flags, Feature Toggles for Crystal
22 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
flipper:
github: metaware/flipper
version: ~> 0.2.0Then run:
shards installshard.yml
- Crystal
0.23.1- License
- MIT
- Author
- Jasdeep Singh <jasdeep@metawarelabs.com>
Dependencies
Runtime Dependencies
- kiwi~> 0.1.0github: greyblake/crystal-kiwi
Development Dependencies
README
# flipper
[](https://travis-ci.org/metaware/flipper)
[](https://github.com/metaware/flipper/blob/master/LICENSE)
[](https://github.com/metaware/flipper/releases/latest)
> Feature flipping is the act of enabling or disabling features or parts of your application, ideally without re-deploying or changing anything in your code base.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
flipper:
github: metaware/flipper
```
## Usage
```crystal
require "flipper"
```
```
Flipper.adapter = Kiwi::MemoryStore.new
Flipper.adapter = Kiwi::RedisStore.new(Redis.new)
```
You are free to use anyone of the supported adapeters/stores from [crystal-kiwi](https://github.com/greyblake/crystal-kiwi)
```crystal
Flipper.enable(:feature_name)
if Flipper.enabled?(:feature_name)
puts "Feature launched, Let's roll!"
else
puts "Feature not released yet."
end
Flipper.disable(:search)
if Flipper.disabled?(:search)
puts "Search is not available yet!"
end
```
## Roadmap
- [x] Simple Logic Gate
- [ ] Groups
- [ ] Individual Users/Actors
- [ ] Percentage of Actors
## Contributing
1. Fork it ( https://github.com/metaware/flipper/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Credits
- A huge shoutout to [flipper](https://github.com/jnunemaker/flipper) (Ruby) and [rollout](https://github.com/fetlife/rollout) (Ruby) for inspiration.
- `flipper` stands on work done by [greyblake](https://github.com/greyblake) on [crystal-kiwi](https://github.com/greyblake/crystal-kiwi)
## Contributors
- [Jasdeep Singh](https://github.com/jasdeepsingh) - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.0- Tagged
- Aug 13, 2017
- Commit
49ae8fed654a- Crystal
0.23.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/metaware/flipper
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 3