dif.sh
dif.sh is an open-source, git-native feature-flagging and A/B-testing tool. It keeps flags and experiments as Markdown files in a repository so they can be reviewed in pull requests, validated in CI, and read by coding agents.
At a Glance
- Software engineering teams
- Product and growth teams running experiments
- Startups and teams wanting an open-source/self-hosted option
- Organizations using AI coding agents
- +1 more
AI Tools by dif.sh
(1)dif.sh
Git Based Feature Flag CLI
Discussions
No discussions yet
Be the first to start a discussion about dif.sh
Latest News
Published Agent-driven experiments: your coding agent writes both variants
Published LaunchDarkly Pricing Alternative, describing Dif Cloud Pro at $50/month
Published the open-source Flagsmith alternative comparison
Released dif CLI v0.6.1 with pre-launch hardening, agent onboarding, and init-script updates
Products & Services
MIT-licensed command-line tool that initializes a dif workspace and supports init, connect, new, validate, build, qa, conclude, and scaffold-audiences.
Small JavaScript/TypeScript runtime that performs deterministic local assignment, records exposure events, and supports analytics through dif.track() when connected to Cloud.
Framework adapters for using dif feature flags and experiments in React and Svelte applications.
Optional hosted analytics layer for live pulse, metrics, statistical analysis, and PR write-back; includes 1 million events per month and unlimited seats.
Market Position
dif.sh positions itself as the git-native, open-source alternative to dashboard-based feature-flag platforms: flags are Markdown files beside the code, assignment is local and deterministic, and coding agents can read context.json. Its stated tradeoffs versus LaunchDarkly and similar platforms are a younger ecosystem, narrower JavaScript/TypeScript SDK coverage, no traditional operator dashboard, and rollback that requires merge and deploy rather than an instant remote toggle. Comparisons on its site identify LaunchDarkly, Optimizely, Split/Harness FME, GrowthBook, Flagsmith, Unleash, and Statsig as relevant alternatives.
Leadership
Founders
Chris Fowles
Co-founder and Director of Engineering at Niftic; Niftic describes him as leading technical strategy and experimentation work. He also leads engineering teams at FundHero and Oboe, an experimentation platform.
David Herzog
A dif.sh maker and founding partner at Niftic; public profile search results describe him as a design leader and former professional skier.
Founding Story
The makers say dif.sh grew from asking Claude Code to add feature flags: existing tools required an account and API key, so the agent instead wrote an environment-variable check. dif.sh was created around the idea that flags should live in the repository as Markdown, be reviewed like code, require no signup, and remain usable in a self-hosted/free mode.
Business Model
Revenue Model
The CLI and SDK are free and MIT licensed. Revenue comes from optional Dif Cloud hosted analytics, charged by event volume rather than seats.
Pricing Tiers
Open source, self-hostable, no signup required.
Per workspace; 1 million events/month included, then $0.02 per 1,000 events; unlimited seats and projects, 90-day raw history, permanent aggregated results, spend caps, usage alerts, and email support.
Negotiated event pricing/allowance and retention with SSO/SAML, audit logs, role policies, dedicated infrastructure, region pinning, SLA, security review, and invoicing.
Target Markets
- Software engineering teams
- Product and growth teams running experiments
- Startups and teams wanting an open-source/self-hosted option
- Organizations using AI coding agents
- JavaScript and TypeScript application teams
- Feature rollout and release management
- A/B tests and product experimentation
- AI-agent-created and AI-feature experiments
- Checkout, conversion, and other product-surface experiments
- CI validation and safe flag lifecycle management
- Teams that want flag state in Git rather than a dashboard