Coder Social home page Coder Social logo

renovate-bot / unleash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from http-github-com-alisscco/unleash

0.0 1.0 0.0 24.56 MB

Unleash is the open source feature toggle service.

Home Page: https://getunleash.io

License: Apache License 2.0

JavaScript 44.06% Shell 0.09% CSS 19.00% TypeScript 32.42% Mustache 4.04% HTML 0.39%

unleash's Introduction

Unleash is the open-source feature management platform. It provides a great overview over all feature toggles/flags across all your applications and services. Unleash enables software teams all over the world to take full control on 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 off 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. In order 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 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 to 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 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 you 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 problem for people. If you want to contribute to this project you are encouraged to send issue request, or provide pull-requests. Please read the CONTRIBUTING.md to learn more on how you can contribute.

Community and Help

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

In the media

unleash's People

Contributors

andersos avatar ashrash avatar avirog avatar bjarneo avatar checketts avatar chriswk avatar codedrivenmitch avatar dependabot[bot] avatar dezitter avatar duythinht avatar fredrikoseberg avatar gardleopard avatar gazconroy avatar greenkeeper[bot] avatar greenkeeperio-bot avatar haakoneriksen avatar ivarconr avatar jarib avatar kouzukii avatar mfolkeseth avatar moolen avatar shadone avatar shbht avatar simenandre avatar simenb avatar stigkj avatar sveisvei avatar svenluijten avatar sverosak avatar wesleimp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.