Skip to main content

What is FlagTGL?

FlagTGL is an open-source feature flag management platform that gives your team full control over feature rollouts, A/B testing, and release management.

Why FlagTGL?

  • Self-hosted - Run on your own infrastructure. Your data stays yours.
  • LaunchDarkly-compatible - Drop-in relay proxy supports existing LD SDKs, making migration painless.
  • Real-time updates - Server-Sent Events (SSE) push flag changes to connected clients instantly.
  • Multi-environment - Manage flags across development, staging, and production from a single dashboard.
  • Role-based access - Organizations, projects, and fine-grained roles keep teams organized.
  • Segments & targeting - Target users by attributes, percentage rollouts, or predefined segments.

Core Concepts

ConceptDescription
Feature FlagA toggle that controls whether a feature is enabled for users. Can be boolean or multivariate.
EnvironmentAn isolated context (e.g., production, staging) with its own flag configurations.
SegmentA reusable group of users defined by rules, used in targeting.
ProjectA container for flags, environments, and segments within an organization.
SDK KeyA credential that authenticates your application with FlagTGL's SDK endpoints.

Architecture Overview

FlagTGL consists of:

  1. Backend API (Go) - REST API + SSE streaming + relay proxy
  2. Frontend Dashboard (React) - Web UI for managing flags
  3. SDKs - Go server SDK and JavaScript client SDK
  4. Relay Proxy - LaunchDarkly-compatible endpoints for drop-in migration

Next Steps