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
| Concept | Description |
|---|---|
| Feature Flag | A toggle that controls whether a feature is enabled for users. Can be boolean or multivariate. |
| Environment | An isolated context (e.g., production, staging) with its own flag configurations. |
| Segment | A reusable group of users defined by rules, used in targeting. |
| Project | A container for flags, environments, and segments within an organization. |
| SDK Key | A credential that authenticates your application with FlagTGL's SDK endpoints. |
Architecture Overview
FlagTGL consists of:
- Backend API (Go) - REST API + SSE streaming + relay proxy
- Frontend Dashboard (React) - Web UI for managing flags
- SDKs - Go server SDK and JavaScript client SDK
- Relay Proxy - LaunchDarkly-compatible endpoints for drop-in migration
Next Steps
- Getting Started - Set up your first feature flag in under 5 minutes