dif.sh
Git-native feature flagging and experimentation framework that stores flags as Markdown files inside repositories for developers and coding agents.
Community:
Product Overview
What is dif.sh?
dif.sh is a developer-centric feature flag and A/B testing tool that manages experimentation configurations directly within the source repository . Instead of managing flags across external SaaS dashboards, teams define flags, rollouts, and experiments as version-controlled Markdown files with structured frontmatter . The platform compiles configurations into a lightweight, type-safe client at build time, catches test collisions in CI, and generates machine-readable context files so coding agents retain historical experiment memory across sessions .
Key Features
Git-Native Markdown Architecture
Treats flags, A/B tests, and holdouts as version-controlled Markdown files inside the repository, making pull requests the single approval mechanism.
Coding Agent Context Generation
Compiles active experiments and learnings into a structured JSON file that AI coding assistants ingest at session startup to maintain context.
Compile-Time Collision Prevention
Validates exclusion groups and targeting rules during build time, failing the CI pipeline if concurrent experiments clash on the same user.
Zero-Latency Client Generation
Emits an ultra-small, strongly typed client directly into application code, resolving variants locally without external runtime network calls.
Surface-Based Knowledge Retention
Maintains dedicated Markdown logs for individual application surfaces so concluded experiment findings automatically inform subsequent test drafts.
Use Cases
- Agentic Software Engineering : Enables coding agents in Cursor, Claude, or Copilot to understand active flags and prior test outcomes before editing user-facing code.
- Progressive Feature Rollouts : Engineers can safely release features behind staged percentage rollouts and target specific user attributes without committing customer lists.
- Isolated Front-End A/B Testing : Product and growth teams can run conversion tests with guaranteed mutual exclusion, preventing contradictory UI variants from conflicting.
- Automated CI/CD Verification : DevOps pipelines automatically check frontmatter integrity, missing test declarations, and flag conflicts before merging code.
FAQs
dif.sh Alternatives
Wasmer
A fast, secure, and universal WebAssembly runtime enabling lightweight containers to run applications anywhere-locally, in the cloud, or at the edge.
Anyscale
A fully managed, unified compute platform built on Ray for building, scaling, and deploying AI and Python applications efficiently.
Massed Compute
Flexible, on-demand GPU and CPU cloud compute provider offering enterprise-grade NVIDIA GPUs with transparent pricing and expert support.
Beam Cloud
Cloud platform enabling rapid deployment and scaling of serverless workloads and containers with seamless developer experience.
Plural.sh
A scalable Kubernetes management platform offering fleet-wide GitOps automation, infrastructure-as-code, and self-service provisioning.
ClearML
Open-source, unified AI platform for managing the entire machine learning lifecycle from data management to model deployment and orchestration.
Qovery
DevOps automation platform that simplifies cloud infrastructure provisioning and application deployment with Kubernetes abstraction.
Bunnyshell
Platform that automates environment management and deployment workflows to accelerate software delivery while reducing cloud costs and operational overhead.

