Tool
dif.sh is a developer tool for storing feature flags, A/B tests, holdouts, and staged rollouts as Markdown files in a Git repository. Each experiment uses frontmatter for its status, audience, variants, metrics, guardrails, and exclusion group, while Git provides versioning and pull requests provide review and audit history.
Its CLI initializes the repository structure, drafts experiments from surface-specific learning logs, validates configurations, previews assignments, builds a typed client, and archives concluded tests. The build resolves exclusion groups and fails on conflicting live experiments, generates a client that evaluates variants in the application without a production service call, and refreshes dif/context.json for coding agents. Audience rules declare runtime attributes such as country, plan, or returning-visitor status without committing customer lists.
The optional Dif Cloud integration can calculate lift through dif.track(); alternatively, custom event handlers can forward results to other analytics systems. The project provides an npm CLI package and an SDK, and its site describes a no-signup workflow.
1 use taken from transcripts — each links to the moment in the video.
A developer tool that stores feature flags and A/B tests as Markdown files in a Git repository. It provides versioning, pull-request review, typed clients, collision checks, a CLI for managing experiments, and an optional cloud view.
1 in the library.