1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Unleash is the open source feature toggle service.
Go to file
Ran Magen d917e8018f feat: add option and functionality that allows a user to hook into feature mutations (#457)
* Add option and functionality that allows a user to hook into feature mutations.

* Fix function argument to include the entire event.
2020-02-20 08:34:26 +01:00
bin fix: Add DATABASE_URL_FILE for loading a db url from a file (#455) 2020-02-20 08:34:26 +01:00
docs feat: add option and functionality that allows a user to hook into feature mutations (#457) 2020-02-20 08:34:26 +01:00
examples Fix keycloak sample code eslint issues 2020-02-20 08:34:24 +01:00
lib feat: add option and functionality that allows a user to hook into feature mutations (#457) 2020-02-20 08:34:26 +01:00
migrations feat: Added feature toggle variants 2020-02-20 08:34:20 +01:00
scripts fix(docs): decploy scripts in travis needs to be single command 2020-02-20 08:34:15 +01:00
test fix: none authentication should have a mock user (#449) 2020-02-20 08:34:25 +01:00
website chore: add budgets as a company using unleash (#456) 2020-02-20 08:34:26 +01:00
.editorconfig eslint config 2020-02-20 08:30:26 +01:00
.eslintignore chore(documentation): Added Docusaurus with a website 2020-02-20 08:34:14 +01:00
.eslintrc Refactored state-service, schemas, added e2e tests #395 2020-02-20 08:34:22 +01:00
.gitignore chore(documentation): Added Docusaurus with a website 2020-02-20 08:34:14 +01:00
.travis.yml chore: Fix formatting all the things 2020-02-20 08:34:15 +01:00
app.json chore: Fix formatting all the things 2020-02-20 08:34:15 +01:00
CHANGELOG.md fix: Update commander to version 2.20.0 2020-02-20 08:34:25 +01:00
CODE_OF_CONDUCT.md chore: Fix formatting all the things 2020-02-20 08:34:15 +01:00
LICENSE Initial commit 2014-09-29 14:50:46 +02:00
migrator.js Lint commit (#239) 2020-02-20 08:30:51 +01:00
package.json fix: Upgrade knex to version 0.17.5 2020-02-20 08:34:26 +01:00
Procfile Use yarn with travis/heroku 2020-02-20 08:34:03 +01:00
README.md chore: typos in README.md 2020-02-20 08:34:25 +01:00
server.js cleanup bin 2020-02-20 08:30:40 +01:00
yarn.lock fix: Upgrade knex to version 0.17.5 2020-02-20 08:34:26 +01:00

Unleash

Build Status Coverage Status Dependency Status devDependency Status Greenkeeper badge Deploy

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.

The main motivation for doing feature toggling is to decouple the process for deploying code to production and releasing new features. This helps reducing risk, and allow us to easily manage which features to enable

Feature toggles decouple deployment of code from release of new features

This repo contains the unleash-server, which contains the admin UI and a place to ask for the status of features. In order to make use of unleash you will also need a client implementation.

Unleash UI

Online demo version available on heroku.

Activation strategies

It's fine to have a system for turning stuff on and off. But some times we want more granular control, we want to decide who to the toggle should be enabled for. This is where activation strategies comes in to the picture. Activation strategies take arbitrary config and allows us to enable a toggle in various ways.

Common activation strategies includes:

  • Active For users with a specified userId
  • GradualRollout to X-percent of our users
  • Active for our beta users
  • Active only for application instances running on host x.

Read more about activation strategies in docs/activation-strategies.md

Client implementations

We have offical SDK's for Java, Node.js, Go, Ruby and Python. And we will be happy to add implementations in other languages written by you! These libraries makes it very easy to use Unleash in you application.

Official client SDKs:

Clients written by awesome enthusiasts: 🔥

The Client API

The client SDKs provides a simple abstraction making it easy to check feature toggles in your application. The code snippet below shows how you would use Unleash in Java.

if (unleash.isEnabled("AwesomeFeature")) {
  //do some magic
} else {
  //do old boring stuff
}

Running Unleash Service

Run it yourself

Unleash is open source and you are free to run your own instance. Please refer to the getting-started-guide to learn how to run the Unleash Service.

We have made a separate project which runs Unleash inside docker. Please see unleash-docker for details

Unleash as a Service (SaaS)

After numerous request we have created a separate company, Unleash-hosted, which offer Unleash as a Service. Unleash-hosted allows you to focus on you core business and have someone else taking care of hosting and maintaining Unleash.

Go to unleash-hosted.com to learn more about this offering. This service also includes official support.

Developer Guide

If you want to contribute to this project you are encouraged to send issue request, or provide pull-requests. Please read the unleash developer guide to learn more on how you can contribute.

I Need help

Other resources