{"id":50982873,"url":"https://github.com/socket7/livediff","last_synced_at":"2026-06-20T17:01:06.190Z","repository":{"id":364806525,"uuid":"1269285813","full_name":"SoCkEt7/Livediff","owner":"SoCkEt7","description":"⚡ Livediff: Watch file diffs live in your terminal. Minimalist Rust TUI for instant feedback loops.","archived":false,"fork":false,"pushed_at":"2026-06-17T12:55:32.000Z","size":6646,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-19T16:41:10.376Z","etag":null,"topics":["cli","code-review","command-line","developer-tools","diff","dx","file-watcher","git","minimalist","monitoring","nyxia","productivity","ratatui","rust","rust-cli","terminal","terminal-ui","tui","watcher"],"latest_commit_sha":null,"homepage":"https://socket7.github.io/Livediff/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoCkEt7.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-14T14:25:35.000Z","updated_at":"2026-06-17T20:20:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/SoCkEt7/Livediff","commit_stats":null,"previous_names":["socket7/livediff"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/SoCkEt7/Livediff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCkEt7%2FLivediff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCkEt7%2FLivediff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCkEt7%2FLivediff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCkEt7%2FLivediff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoCkEt7","download_url":"https://codeload.github.com/SoCkEt7/Livediff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoCkEt7%2FLivediff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34578095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","code-review","command-line","developer-tools","diff","dx","file-watcher","git","minimalist","monitoring","nyxia","productivity","ratatui","rust","rust-cli","terminal","terminal-ui","tui","watcher"],"created_at":"2026-06-19T16:04:52.998Z","updated_at":"2026-06-20T17:01:06.184Z","avatar_url":"https://github.com/SoCkEt7.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Livediff 👁️\n\n**Live terminal diffs while files change.** Livediff is a lightweight Rust TUI companion to `git diff` for generators, refactors, migrations, formatters, and config edits.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"demo.gif\" alt=\"Livediff showing real-time file diffs in the terminal\" width=\"800\"\u003e\n\u003c/p\u003e\n\n[![CI](https://github.com/SoCkEt7/Livediff/actions/workflows/ci.yml/badge.svg)](https://github.com/SoCkEt7/Livediff/actions)\n[![Crates.io](https://img.shields.io/crates/v/livediff.svg)](https://crates.io/crates/livediff)\n[![License](https://img.shields.io/crates/l/livediff.svg)](https://github.com/SoCkEt7/Livediff/blob/main/LICENSE-MIT)\n\n## Why Livediff?\n\n`git diff` is great after the fact. Livediff shows what changes **while another tool is still editing files**.\n\nUse it when you want immediate feedback during:\n\n- code generators and template systems;\n- formatters, migrations, and codemods;\n- refactors that touch many files;\n- documentation or config generation;\n- terminal-first workflows where a GUI diff app is too heavy.\n\nLivediff does not replace Git. It complements `git diff` by turning file changes into a live terminal view.\n\n## Quick start\n\n```bash\ncargo install livediff\nlivediff .\n```\n\nMonitor a specific path or ignore noisy files:\n\n```bash\nlivediff ./src\nlivediff . --ignore \"target/\" --ignore \"*.tmp\"\n```\n\n## Interactive web showcase\n\nTry the zero-install browser demo: **[socket7.github.io/Livediff](https://socket7.github.io/Livediff/)**\n\nIt simulates the TUI, file changes, and real-time diff animations before you install anything.\n\n## Features\n\n- **Real-time monitoring** — native OS filesystem events via `notify`.\n- **Interactive TUI** — terminal interface built with `ratatui` and `crossterm`.\n- **Character-level diffs** — precise added/removed highlights using `similar`.\n- **Low idle footprint** — event-driven redraws; no Electron or Node runtime.\n- **Smart filtering** — respects `.gitignore` and accepts custom glob ignores.\n- **Zero-install preview** — hosted interactive demo for quick evaluation.\n\n## How is it different?\n\n| Tool | Best for | Livediff difference |\n| --- | --- | --- |\n| `git diff` | Reviewing changes after edits | Watches changes live as they happen |\n| `watch` + `diff` | Simple repeated shell checks | Gives an interactive TUI and file list |\n| GUI diff tools | Manual visual review | Stays lightweight and terminal-native |\n| file watcher logs | Knowing something changed | Shows exactly what changed |\n\n## Example workflows\n\nSee [docs/use-cases.md](docs/use-cases.md) for practical workflows:\n\n- watching generated files;\n- inspecting migration output;\n- monitoring formatter/codemod changes;\n- reviewing docs/config generation.\n\n## Installation\n\n### Via Cargo\n\n```bash\ncargo install livediff\n```\n\n### Homebrew (planned)\n\nHomebrew is not a live install channel yet: no verified tap or formula is currently published for Livediff. Use Cargo (above) or a pre-built release archive until this section lists verified `brew` commands.\n\nSee [#5](https://github.com/SoCkEt7/Livediff/issues/5) for the original packaging discussion.\n\n### Pre-built binaries\n\nTagged releases provide Linux, macOS, and Windows archives when available:\n\n[github.com/SoCkEt7/Livediff/releases](https://github.com/SoCkEt7/Livediff/releases)\n\n## CLI options\n\n```text\nUsage: livediff [OPTIONS] [PATH]\n\nArguments:\n  [PATH]  The path to monitor [default: .]\n\nOptions:\n  -i, --ignore \u003cIGNORE\u003e  Ignore files matching this glob pattern (can be used multiple times)\n      --show-hidden      Show hidden files\n      --no-ignore        Do not respect ignore files (.gitignore, .ignore, etc.)\n      --no-ignore-parent Do not respect ignore files in parent directories\n      --no-ignore-vcs    Do not respect git/VCS ignore files (.gitignore, etc.)\n  -h, --help             Print help\n  -V, --version          Print version\n```\n\n## Roadmap\n\n- More packaged install options, including Homebrew.\n- Short terminal recording with asciinema.\n- More workflow recipes for generators, migrations, and monorepos.\n- Community-requested filters and export options.\n\n## Contributing\n\nContributions are welcome. Start with [CONTRIBUTING.md](CONTRIBUTING.md), or open an issue with the workflow you want Livediff to support better.\n\n## License\n\nLicensed under either [MIT](LICENSE-MIT) or [Apache-2.0](LICENSE-APACHE), at your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocket7%2Flivediff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocket7%2Flivediff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocket7%2Flivediff/lists"}