Open-source feature flags, built on OpenFeature
open sourceMITself-hostablefree
GO Feature Flag is an MIT-licensed feature flag solution: a Go module that evaluates flags in-process, and a relay proxy server that other languages reach through OpenFeature providers (Go, Java, Kotlin, JavaScript and TypeScript, Python, .NET, Ruby, Swift and PHP, and Rust through OFREP). Flags are configuration in YAML, JSON or TOML that it reads from where you keep it: a file, HTTP, S3, Google Cloud Storage, Azure Blob Storage, GitHub, GitLab, Bitbucket, a Kubernetes ConfigMap, MongoDB, Redis or a PostgreSQL table with one JSONB row per flag. It supports targeting rules, percentage and progressive rollouts, scheduled changes and A/B experiments, exports evaluation data and notifies Slack or a webhook when a flag changes. There's no hosted service; the maintainer offers paid support.
Ways to install
On Kubernetes
Package managers
Problems it solves
- keep our feature flags as YAML in a Git repo and have every service pick up changes without a redeploy
- feature flags through OpenFeature SDKs without paying a vendor or getting locked in
- evaluate feature flags inside my Go service with no network call
- store our feature flag definitions in a Postgres table we already run
- read feature flag config from an S3 bucket or a Kubernetes ConfigMap
- a lightweight self-hosted flag server with no database of its own to operate
- roll a feature out progressively from 0% to 100% over a week automatically
- schedule a flag to change at a set date and time
- split traffic for an A/B experiment and export which users saw which variation
- post to Slack when someone changes a feature flag
- one feature flag backend for Go, Java, Python, TypeScript and mobile clients
- an MIT-licensed feature flag server we can run inside our own Kubernetes cluster
- lint our feature flag config files in CI before they ship
- send feature flag evaluation events to Kafka or our data warehouse
Features
- Go module that evaluates flags in-process
- relay proxy API server for every other language, via OpenFeature providers
- OpenFeature providers for Go, Java, Kotlin, JavaScript/TypeScript (server and web), Python, .NET, Ruby, Swift, PHP, and Rust via OFREP
- flag configuration in YAML, JSON or TOML
- retrievers: file, HTTP, S3, Google Cloud Storage, Azure Blob Storage, GitHub, GitLab, Bitbucket, Kubernetes ConfigMaps, MongoDB, Redis, PostgreSQL
- PostgreSQL retriever reads flag_name, flagset and a JSONB config column, with optional flagset filtering
- targeting rules, custom bucketing and variations
- progressive and scheduled rollouts, and A/B experimentation
- exporters for evaluation data: S3, Google Cloud Storage, file, Kafka and more
- notifiers: Slack and webhooks
View 3 more
- web Flag Editor that builds flag configuration
- CLI that lints flag configuration files
- Docker images (including FIPS 140-3 builds), Homebrew, Scoop, binaries and a Helm chart
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has official SDKs | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what GO Feature Flag does.
- flagd Open source OpenFeature-compliant feature flag daemon
- Unleash Open-source feature management platform
- GrowthBook Open source feature flags, experimentation and product analytics
- Flagsmith Open-source feature flags and remote config, hosted or self-hosted
- LaunchDarkly Feature management, experimentation and release observability
- FeatBit Enterprise-grade feature flag platform that you can self-host