Flipt — Git-Native Open-Source Feature Flag Management
Flipt is a self-hosted, open-source feature flag platform that stores flag configuration in Git, supports boolean and multi-variate flags with percentage rollouts, and provides client SDKs for Go, Python, Node.js, Java, Ruby, and Rust.
先审查再安装
这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。
npx -y tokrepo@latest install fc1b5cd9-39c9-11f1-9bc6-00163e2b0d79 --target codex先 dry-run,确认写入项后再运行此命令。
What it is
Flipt is a self-hosted, open-source feature flag platform that stores flag configuration in Git. It supports boolean and multi-variate flags with percentage rollouts, segment targeting, and real-time evaluation. Client SDKs are available for Go, Python, Node.js, Ruby, Java, and other languages.
Flipt targets engineering teams who want feature flag management without SaaS vendor lock-in. Storing flags in Git means your feature flag configuration goes through the same review and versioning process as your application code.
How it saves time or tokens
Flipt replaces ad-hoc feature toggles (environment variables, config files, database flags) with a structured system. The Git-native approach means flag changes are reviewed in pull requests, audited in commit history, and rolled back with git revert. Percentage rollouts let you gradually release features to users without code changes. The evaluation engine runs locally, so flag checks add no network latency.
How to use
- Install and start Flipt:
curl -fsSL https://get.flipt.io/install | bash
flipt
# Open http://localhost:8080
- Create a flag via the UI or CLI:
flipt flag create --key my-feature --name 'My Feature' --enabled
- Evaluate flags in your application:
from flipt import FliptClient
client = FliptClient(url='http://localhost:8080')
result = client.evaluation.boolean(
flag_key='my-feature',
entity_id='user-123',
context={'plan': 'pro'}
)
if result.enabled:
# Show new feature
pass
Example
# .flipt.yml - Git-native flag definition
flags:
- key: new-dashboard
name: New Dashboard
type: BOOLEAN_FLAG_TYPE
enabled: true
rules:
- segment: beta-users
distributions:
- rollout: 100
segments:
- key: beta-users
name: Beta Users
match_type: ANY_MATCH_TYPE
constraints:
- type: STRING_COMPARISON_TYPE
property: plan
operator: eq
value: enterprise
Related on TokRepo
- DevOps Tools — Feature management and deployment tools
- AI Tools for Testing — Feature flag driven testing
This tool integrates with standard development workflows and requires minimal configuration to get started. It is available as open-source software with documentation and community support through the official repository. The project follows semantic versioning for stable releases.
For teams evaluating this tool, the key advantage is reducing manual work in repetitive tasks. The automation provided by the built-in features means less custom code to maintain and fewer integration points to manage. This translates directly to lower maintenance costs and faster iteration cycles.
Common pitfalls
- Git-native mode requires a Git repository for flag storage; ensure the repository is accessible to all Flipt instances in your deployment.
- Flag evaluation is local by default (no network calls), but segment targeting requires the entity context to be passed with each evaluation request.
- Flipt does not provide analytics on flag usage out of the box; integrate with your observability stack to track flag evaluation metrics.
常见问题
Flipt reads flag definitions from YAML files stored in a Git repository. Changes to flags go through pull requests, are reviewed by teammates, and are versioned in commit history. This treats feature flags as code.
Yes. Flipt supports percentage-based rollouts where you gradually increase the percentage of users seeing a new feature. Rollout percentages can be adjusted in real time without redeploying.
Flipt offers client SDKs for Go, Python, Node.js, Ruby, Java, Rust, and PHP. Server-side SDKs evaluate flags locally for zero-latency checks.
LaunchDarkly is a managed SaaS with advanced targeting and analytics. Flipt is self-hosted and open-source with Git-native configuration. Flipt is simpler and free but has fewer enterprise features.
Yes. Flipt is open-source under the GPL-3.0 license. Self-hosting is free with no usage limits. Flipt also offers a managed cloud version for teams that prefer not to self-host.
引用来源 (3)
- Flipt GitHub— Flipt stores feature flag configuration in Git
- Flipt Documentation— Flipt supports boolean and multi-variate flags with percentage rollouts
- Flipt Official Site— Flipt provides client SDKs for Go, Python, Node.js, and more
讨论
相关资产
Databend — Cloud-Native Open-Source Data Warehouse Built in Rust
Databend is a modern cloud data warehouse with separation of storage and compute on object storage. Written in Rust for extreme performance, it is a self-hostable alternative to Snowflake with full Snowflake-style SQL compatibility.
Rainbond — Cloud-Native Application Platform Without Kubernetes Expertise
Rainbond is an open-source cloud-native application management platform that abstracts away Kubernetes complexity, letting developers deploy, manage, and orchestrate containerized applications through a visual interface without writing YAML.
Kepler.gl — Open Source Geospatial Data Visualization
A powerful open-source tool for large-scale geospatial data visualization built on deck.gl and Mapbox GL.
Tekton Pipelines — Cloud-Native CI/CD Primitives for Kubernetes
Tekton Pipelines is a powerful, flexible, open-source framework for creating CI/CD systems. It runs pipelines as native Kubernetes resources using Tasks, Pipelines and TaskRuns.