Skip to content

Flagr

Self-hosted Go service for feature flags, A/B tests and runtime config

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

77

Health

Thriving

Overview

Stars

2,616

Last commit

10 days ago

Nov 2026

Repository age

9 years

since Oct 2017

Latest version

1.2.6

Nov 2026

Contributors

–

3 active in 90 days

Releases

8

last 12 months

Language

Go

Flagr is a Go service that handles feature flags, A/B tests and dynamic configuration. Your app sends a POST request to the evaluation endpoint with an entity ID and context. Flagr returns a variant and an optional JSON attachment.

That lets you ship code turned off, enable it for chosen audiences, run experiments with sticky assignment, and change runtime config without redeploying. You manage flags in a Vue 3 web UI. Storage can be SQLite, MySQL or PostgreSQL, or you can use JSON files for a GitOps flow. An official Docker image is available.

A published load test shows about 2,000 requests per second with a median latency under a millisecond. The project continues development from the original checkr/flagr repository and is licensed Apache 2.0. It works as a self-hosted alternative to paid feature flag services.

Who it's for

Backend teams wanting to ship code dark and enable it per audience

A single evaluation call returns the variant for a given user and context.

Skip if: You want a hosted service with built-in analytics and support.

Teams running A/B tests with consistent assignment

Sticky variants keep each entity on the same variant.

Skip if: You need full statistical analysis and reporting in the tool.

Platform engineers who manage config through Git

A JSON/GitOps mode works alongside the SQL options.

Skip if: You prefer not to run and monitor another service.

The problem it solves

Turning features on for some users, or changing config, often means a redeploy. Hosted flag services solve this but add cost and send your data off-site. Flagr is a service you run yourself.

Strengths

  • Evaluation API returns a variant plus an optional JSON attachment
  • Stores data in SQLite, MySQL, PostgreSQL or JSON files
  • Official Docker image and a Vue 3 management UI
  • Published load test of about 2,000 req/s with sub-millisecond median latency
  • Apache 2.0 license; 8 releases in the last year

Trade-offs

  • You host, secure and monitor the service yourself
  • Reporting for experiments is limited to what the service returns
  • Your app must integrate with the API or a client library

Self-host Flagr

Self-hostable
Yes

Quick start

docker pull ghcr.io/openflagr/flagr
docker run -it -p 18000:18000 ghcr.io/openflagr/flagr

open http://localhost:18000

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Flagr free?

Yes. It is open source under the Apache 2.0 license.

Can I self-host it?

Yes. Run the official Docker image or build the Go service. It supports SQLite, MySQL, PostgreSQL or JSON storage.

How do I check a flag from my app?

Send a POST to /api/v1/evaluation with entityID and entityContext. It returns a variant and an optional JSON attachment.

Is it the same as checkr/flagr?

openflagr/flagr continues development from the original checkr/flagr.

Similar tools in Feature flag management

Featbit

Feature flag management

MIT-licensed feature flag platform for gradual rollouts, with .NET and Docker deployment

2k 151 today Thriving MIT

switchfeat

Feature flag management

Self-hosted feature flag and A/B testing service for teams that keep data in their network

206 15 3 years ago Dormant AGPL-3.0

Abby

Feature flag management

Feature flag and A/B testing platform with typed SDKs for web developers

166 59 2 years ago Dormant AGPL-3.0

Nona

Feature flag management

Self-hosted remote config and feature flags for web, mobile and backend apps

52 14 20 days ago Active Apache-2.0

GrowthBook

Feature flag management

Feature flags and warehouse-native A/B testing for product and data teams

8.7k 917 today Thriving MIT

Replaces LaunchDarkly

Flagsmith

Feature flag management

Self-hostable feature flag and remote config service for engineering teams

9.2k 650 today Thriving BSD-3-Clause

Replaces LaunchDarkly