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
renovate[bot] e3db792c5c
fix(deps): update docusaurus monorepo to v2.0.0-beta.8 (#1057)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 20:53:21 +02:00
.do fix: digital ocean specs 2021-06-21 19:15:42 +02:00
.github chore(deps): update metcalfc/changelog-generator action to v1.0.1 2021-10-12 11:36:18 +00:00
docs/api/oas fix: remove swagger.json poc 2021-10-01 13:21:41 +02:00
examples feat: update docs to match v4. 2021-05-18 11:19:33 +02:00
scripts Add quick reset of database script 2021-03-11 11:18:06 +01:00
src fix: add constraint for changing project. (#1049) 2021-10-21 10:29:09 +02:00
websitev2 fix(deps): update docusaurus monorepo to v2.0.0-beta.8 (#1057) 2021-10-21 20:53:21 +02:00
.editorconfig chore: setup separate workflow for PRs 2021-03-04 14:27:43 +01:00
.eslintignore fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
.eslintrc chore(deps): update dependency eslint-config-airbnb-typescript to v14 (#979) 2021-09-28 21:19:13 +02:00
.gitignore Make Appinstance registration include environment (#1014) 2021-10-12 10:39:28 +02:00
.node-version chore(deps): update node.js to v14.18.1 2021-10-17 14:11:14 +00:00
.nvmrc Reset token (#786) 2021-04-16 15:29:23 +02:00
.prettierignore chore: update changelog 2021-05-07 11:40:32 +02:00
app.json fix: proper logo 2021-06-04 23:26:40 +02:00
CHANGELOG.md chore: update changelog 2021-06-10 23:05:10 +02:00
CODE_OF_CONDUCT.md docs: cleanup unleash-hosted refereces 2021-08-30 09:36:26 +02:00
CONTRIBUTING.md chore(node-version): move node spec to .node-version (#1034) 2021-10-17 15:26:59 +02:00
LICENSE fix: license year and company 2020-05-12 22:41:36 +02:00
package.json chore(deps): update dependency ts-node to v10.3.1 2021-10-21 18:28:40 +00:00
README.md docs: add reference to developer-guide (#1035) 2021-10-17 15:21:25 +02:00
renovate.json chore: update renovte config 2021-09-29 21:14:27 +02:00
setupJest.js fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
tsconfig.json fix: Stores as typescript and with interfaces. (#902) 2021-08-12 15:04:37 +02:00
yarn.lock chore(deps): update dependency ts-node to v10.3.1 2021-10-21 18:28:40 +00:00

Unleash is an open-source feature management platform. It provides a great overview of all feature toggles/flags across all your applications and services. Unleash enables software teams all over the world to take full control of how they enabled new functionality to end-users.

Unleash comes with official client SDKs for all the popular languages.

Features

Open-Source

  • Boolean feature toggles (on/off)
  • Canary release (Gradual rollout)
  • Targeted release
  • Experimentation (A/B testing)
  • Kill Switches
  • Custom activation strategies
  • Privacy first (GDPR) where end-user data never leaves your application
  • Audit logs
  • Addons integrating with other popular tools (Slack, Teams, Datadog, etc.)
  • It is secure (Enable Secure Headers with strict HTTPS only mode)
  • Extremely scalable with evaluations on the client-side. Used in enterprises handling more than 10k req/s. Read more about our architecture
  • Dashboard to manage technical debt
  • Admin APIs
  • Flexible architecture and can be hosted anywhere
  • Docker image available

Enterprise

Unleash Enterprise builds directly on top of the Open-Source (open-core) and provides additional advanced functionality:

  • Project support
  • Advanced segmentation
  • Environments (unlimited)
  • SSO (SAML 2.0, OpenID Connect, etc)
  • A cloud offering where the Unleash team host, monitor, scale, patches, upgrades and take full backups for you
  • Self-hosted possible
  • SLA guarantees
  • Support

Unleash SDKs

In order to connect your application to Unleash you need to use a client SDK for your programming language.

Official Server SDKs:

Official Frontend SDKs:

The frontend SDKs connects via the Unleash Proxy in order to ensure Privacy, scalability and security.

Community SDKs

In addition there exists a good list of community developed SDKs, so there might already exist an implementation for your favorite programming language (e.g. Rust, Elixir, Dart, Clojure, NestJS, Kotlin, PHP and more.)

Architecture

Read more in the Unleash documentation

What is a feature toggle?

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, and have full control of how we exposed the new feature for.

Feature toggles decouple deployment of code from release of new features

This repo contains the unleash-server, which contains the Unleash Admin UI and the Unleash API. To make use of unleash you will also need a client SDK.

Unleash Admin UI

Online demo

Segmentation

It's fine to have a system for turning stuff on and off. But sometimes we want more granular control, we want to decide who the toggle should be enabled for. This is where activation strategies come into the picture. Activation strategies take arbitrary config and allow us to enable a toggle to a specific subset of your users (segment).

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 our docs.

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

The are numbers of ways you can run Unleash.

  1. Unleash Enterprise - Cloud hosted by the Unleash Team. see plans
  2. Unleash Open-Source - Self host with Docker. Guide
  3. Unleash Open-Source - Self host with Node.js Guide
  4. Unleash Open-Source - Helm chart artifacthub.io

Run from Docker

  1. Create a network by running docker network create unleash
  2. Start a postgres database:
docker run -e POSTGRES_PASSWORD=some_password \
  -e POSTGRES_USER=unleash_user -e POSTGRES_DB=unleash \
  --network unleash --name postgres postgres
  1. Start Unleash via docker:
docker run -p 4242:4242 \
  -e DATABASE_HOST=postgres -e DATABASE_NAME=unleash \
  -e DATABASE_USERNAME=unleash_user -e DATABASE_PASSWORD=some_password \
  -e DATABASE_SSL=false \
  --network unleash unleashorg/unleash-server

The first time Unleash starts it will create a default user which you can use to sign-in to your Unleash instance and add more users with:

  • username: admin
  • password: unleash4all

Users of Unleash

Unleash is trusted by thousands of companies all over the world (we are tracking more than 90 countries already). Proud Open-Source users:

(PS! feel free to submit your logo!)

Contribute to Unleash

Unleash has been built with the help of many smart individuals. This ensures that we build a product that solves real problems for people. If you want to contribute to this project you are encouraged to send issue requests, or provide pull-requests.

  1. Read CONTRIBUTING.md to learn more on how you can contribute
  2. Browse the developer-guide for tips on environment setup, running the tests, and running Unleash from source.

Community and Help

We know that learning a new tool can be hard and time-consuming. We have a growing community that loves to help out. Please don't hesitate about reaching out to get help.

In the media