Real-time code modification tracking with smart diffs, git attribution, and instant notifications. One binary. Zero config. Total visibility.
curl -fsSL https://0diff.dev/install.sh | sh
Production is down. Your team scrambles to find what changed. 47 files were modified across 6 branches in the last 24 hours. Nobody remembers touching the database migration file. You git log each file one by one. Three hours later, you find a one-line change in a config file that nobody flagged.
Your code worked perfectly yesterday. Today, a critical function returns wrong values. You didn't change anything. But someone did — an AI assistant reformatted a file and silently changed an indentation-sensitive block. The diff looked like "whitespace cleanup." It was actually a logic change hiding in plain sight.
Five developers working on the same module. A regression appears after a merge. Everyone says they didn't touch that file. Git blame shows a merge commit — unhelpful. You need to know who changed what, when, and on which branch, before it was merged and the history was squashed.
You're running 5 Claude Code agents in parallel across different terminals. Agent 3 decides to "fix" a utility function that Agents 1, 2, 4 and 5 all depend on. Everything breaks. Every agent commits under your name. There's no way to know which agent changed which file without reading every diff manually.
Your core module is 5,000+ lines. Critical business logic, carefully balanced over years. A junior dev or an AI assistant makes a small change in line 3,847. No one reviews it because the PR diff is too large. It ships. Two weeks later, an edge case surfaces. Finding which of the 40 changes in that file caused it becomes an archaeological dig.
Someone pushed a "quick fix" at 4:58 PM on Friday. No review, no notification. Monday morning: the staging environment won't boot. The weekend batch job corrupted 10,000 records because of a changed validation rule. If anyone had been notified in real-time, it would have been a 5-minute fix. Instead, it's a Monday morning disaster.
Native OS-level monitoring using inotify (Linux), FSEvents (macOS), and ReadDirectoryChanges (Windows). Debounced to avoid noise. Instant detection, zero CPU overhead.
Myers algorithm computes precise, line-level diffs. Optionally ignore whitespace-only changes, comment modifications, or changes below a configurable threshold. See what actually matters.
Automatically detects the current branch, runs git blame on modified lines, and identifies the author. Know exactly who changed each line, even before the commit.
Push notifications to Slack (Block Kit formatted), Discord webhooks, or any HTTP endpoint. Thread by file to keep channels clean. Know the moment something changes.
Every change is logged to a local JSON-lines file. Query by author, file, date range, or branch. Full audit trail without relying on git log archaeology.
Run 0diff init and you're watching. Smart defaults handle ignore patterns, extensions, and debouncing. Customize later with a simple TOML file. Works with any language, any project.
Run 0diff as a background daemon that persists across terminal sessions. Start once, forget about it. Your team's watchdog is always on.
Get periodic summaries: "Today, 47 files modified by 3 authors. Most touched: parser.rs (12 changes)." The executive view for team leads and CTOs.
Written in Rust. Compiles to a single static binary under 10MB. No runtime, no dependencies, no node_modules. Install with curl, run anywhere. Cross-platform.
You use Copilot, Cursor, Claude Code. They write code in your files while you're focused elsewhere. You tab back and something's different but you can't tell what. You git diff constantly but forget to check. Hours later, a subtle bug appears and you have no idea when it was introduced.
With 0diff, every modification is logged the instant it happens. You see exactly what changed, even across multiple AI-assisted sessions. No more "wait, did I write that or did the AI?"
You're editing auth.rs in one tab. Copilot auto-completes a function in utils.rs in another. 0diff catches it immediately and shows you the exact diff with a terminal notification — before you even switch tabs.
Your team is distributed across 3 time zones. Alice refactors a utility function at 2 AM your time. Bob starts building on the old API at 8 AM. By noon, there's a conflict that takes 4 hours to untangle. Git shows the merge conflict. It doesn't show the moment the divergence started.
With 0diff pushing to a shared Slack channel, every developer sees every change as it happens. Conflicts are prevented, not just resolved. Your team becomes aware of each other's work in real-time.
Alice modifies api/routes.rs. Bob gets a Slack notification instantly with the exact diff. He adjusts his approach before writing a single conflicting line.
As a tech lead or CTO, you don't need to see every line change. You need to know: which critical files were modified today? How many changes hit production-sensitive code? Is the new hire touching files they shouldn't be?
0diff's daily digest gives you exactly this. A periodic summary of all modifications, grouped by author and file, with hotspot detection for frequently-changed files. Executive visibility without the noise.
"Today: 127 modifications across 34 files by 5 authors. Hotspots: core/engine.rs (23 changes), db/migrations/ (8 changes). Flagged: new contributor touched security/auth.rs."
Database migrations. Authentication logic. Payment processing. Encryption keys. These files need a different level of vigilance. A single unreviewed change in payment_handler.rs can cost millions. A silent modification to .env.production can expose secrets.
0diff lets you configure critical file alerts with elevated notifications — different channels, louder alerts, mandatory review triggers. Changes to sensitive paths are impossible to miss.
Watch db/migrations/*, security/*, .env* with immediate Slack DM to tech lead + Discord alert to #security-audit. Zero tolerance for silent changes.
You run Copilot, Cursor, Claude Code, Codex. They write code in your files, under your name, without asking. Traditional tools were built for a world where humans were the only authors. 0diff is the first tool designed for human + AI codebases.
Detect patterns from known AI tools (Claude, Cursor, Copilot). Flag non-human changes automatically with a marker.
Running 5 agents in parallel terminals? 0diff tracks each one independently and shows which agent modified which file.
When Agent A modifies a file that Agent B depends on, 0diff alerts immediately — before cascading failures start.
| Capability | git diff | watchexec | fswatch | 0diff |
|---|---|---|---|---|
| Real-time file watching | ✗ | ✓ | ✓ | ✓ |
| Smart diff (show what changed) | ✓ | ✗ | ✗ | ✓ |
| Author attribution | ✓ (manual) | ✗ | ✗ | ✓ |
| Slack / Discord notifications | ✗ | ✗ | ✗ | ✓ |
| Searchable change history | ✗ | ✗ | ✗ | ✓ |
| Whitespace / comment filtering | ✓ (flags) | ✗ | ✗ | ✓ |
| AI agent detection | ✗ | ✗ | ✗ | ✓ |
| Single binary, zero deps | ✓ | ✓ | ✓ (compile) | ✓ |
| Background daemon mode | ✗ | ✗ | ✗ | ✓ |
Open source. Free forever. Built with Rust.
A ZeroSuite product.