# togglz/togglz

Feature Flags for the Java platform

Repository: https://github.com/togglz/togglz
Canonical: https://ross.abutalabs.com/products/togglz
Homepage: https://www.togglz.org/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: feature-flags, feature-toggles, java
Last push: 2026-08-21T17:03:31+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 97, longevity 100
- inputs: {"age_days": 5369, "days_push": 12, "days_rel": 21, "gap_med": 4, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1016, forks 256 (observed 2026-08-28T04:03:14.345095+00:00)

## What it is
Togglz is an open-source implementation of the Feature Toggles pattern for the Java platform, letting developers associate toggles with features and enable or disable them at runtime, even per user. It offers a modular design with integrations for Spring, CDI, JSF, and Servlet environments, plus an embedded admin console and pluggable activation strategies and state repositories.

## Use cases
- toggle features on and off at runtime in a Java application
- roll out a new feature gradually to a percentage of users
- enable unfinished features only for internal beta testers in production
- kill a buggy feature instantly without redeploying
- manage feature flags from an admin console in a Spring Boot app
- implement dark launches and continuous deployment with feature toggles

## When to choose
- you are building a Java/JVM application and want a mature, battle-tested feature toggle library
- you need fine-grained activation strategies like gradual rollout, username lists, or release dates
- you want an embedded admin console and simple enum-based feature declarations
- you use Spring, CDI, or JSF and want first-class framework integration

## When to avoid
- your stack is not on the JVM (consider Unleash, LaunchDarkly, or Flagsmith instead)
- you need a hosted SaaS feature flag service with dashboards and analytics
- you only need simple environment-based configuration toggles rather than runtime feature management

## Facets
- artifact type: library
- maturity: stable
- function: feature-flags, configuration-management, middleware
- domain: developer-tools, web-development, backend
- platform: jvm, self-hosted
- tags: feature-toggles, continuous-delivery, dark-launching, a-b-testing, admin-console, spring-boot, cdi, servlet, devops, spring

## Member repositories
- togglz/togglz (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.345095+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:21.939613+00:00, confidence not recorded.
  - readme: https://github.com/togglz/togglz (fetched 2026-08-28T04:03:14.345095+00:00, sha 21bc80b48ab7)
  - homepage: https://www.togglz.org/ (fetched 2026-08-29T13:10:35.183668+00:00, sha 001d218f8c27)
  - site_page: https://www.togglz.org/quickstart (fetched 2026-08-29T13:10:35.186268+00:00, sha 055f316844de)
  - site_page: https://www.togglz.org/documentation/overview (fetched 2026-08-29T13:10:35.188373+00:00, sha a7dffcf46f0d)
  - site_page: https://www.togglz.org/documentation/installation (fetched 2026-08-29T13:10:35.190403+00:00, sha a49f8844de48)
  - site_page: https://www.togglz.org/documentation/configuration (fetched 2026-08-29T13:10:35.192883+00:00, sha 5bab420cb1b4)
  - site_page: https://www.togglz.org/documentation/usage (fetched 2026-08-29T13:10:35.195598+00:00, sha d265a79848da)
  - site_page: https://www.togglz.org/documentation/admin-console (fetched 2026-08-29T13:10:35.197591+00:00, sha 64f8ca2b1834)
  - site_page: https://www.togglz.org/documentation/activation-strategies (fetched 2026-08-29T13:10:35.199463+00:00, sha 226cd7b876c1)
  - site_page: https://www.togglz.org/documentation/repositories (fetched 2026-08-29T13:10:35.201441+00:00, sha a504aee5752f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
