{"id":50785073,"url":"https://github.com/brandochn/meld-rs","last_synced_at":"2026-06-12T07:04:38.547Z","repository":{"id":362956529,"uuid":"1261395246","full_name":"brandochn/meld-rs","owner":"brandochn","description":"Meld-rs is a complete rewrite of the Meld visual diff and merge tool in Rust using gtk-rs (GTK 4). It provides side-by-side file and directory comparison, 3-way merge, and version control integration (Git, SVN, Mercurial).","archived":false,"fork":false,"pushed_at":"2026-06-06T17:21:16.000Z","size":189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-06T19:11:33.494Z","etag":null,"topics":["cross-platform","diff","git","gnome","gtk-rs","gtk4","meld","merge","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandochn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"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-06T16:18:04.000Z","updated_at":"2026-06-06T17:24:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/brandochn/meld-rs","commit_stats":null,"previous_names":["brandochn/meld-rs"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/brandochn/meld-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandochn%2Fmeld-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandochn%2Fmeld-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandochn%2Fmeld-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandochn%2Fmeld-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandochn","download_url":"https://codeload.github.com/brandochn/meld-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandochn%2Fmeld-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34232817,"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-12T02:00:06.859Z","response_time":109,"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":["cross-platform","diff","git","gnome","gtk-rs","gtk4","meld","merge","rust"],"created_at":"2026-06-12T07:04:37.209Z","updated_at":"2026-06-12T07:04:38.539Z","avatar_url":"https://github.com/brandochn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meld-rs\n\n**Meld-rs** is a complete rewrite of the [Meld](https://gitlab.gnome.org/GNOME/meld) visual diff\nand merge tool in **Rust** using **gtk-rs** (GTK 4). It provides side-by-side file and directory\ncomparison, 3-way merge, and version control integration (Git, SVN, Mercurial).\n\n\u003e [!WARNING]\n\u003e This project is in an **early experimental phase** and under active development.\n\u003e Expect bugs, incomplete features, and breaking changes. Use with caution —\n\u003e do not rely on it for production or critical workflows yet.\n\n## Features\n\n- 2-way and 3-way file comparison with syntax highlighting\n- Recursive directory comparison with filters\n- 3-way merge with conflict resolution\n- Version control integration (Git, SVN, Mercurial)\n- Syntax highlighting via GtkSourceView\n- Diff map sidebar for visual overview\n- In-file search (find bar)\n- Dark mode support\n- Session management with multiple tabs\n- Command-line integration (`meld-rs \u003cfile1\u003e \u003cfile2\u003e [file3]`)\n\n## Requirements\n\n- **Rust** 1.81 or later\n- **GTK 4** runtime (4.16+ recommended)\n- **GtkSourceView 5**\n- **libadwaita**\n\n### Platform-specific setup\n\n**Linux (Debian/Ubuntu):**\n```bash\nsudo apt install libgtk-4-dev libgtksourceview-5-dev libadwaita-1-dev\n```\n\n**Linux (Fedora):**\n```bash\nsudo dnf install gtk4-devel gtksourceview5-devel libadwaita-devel\n```\n\n**Windows:**\nInstall GTK 4 via [MSYS2](https://www.msys2.org/):\n```bash\npacman -S mingw-w64-x86_64-gtk4 mingw-w64-x86_64-gtksourceview5 mingw-w64-x86_64-libadwaita\n```\n\n**macOS:**\n```bash\nbrew install gtk4 gtksourceview5 libadwaita\n```\n\n## Building\n\n```bash\n# Debug build\ncargo build\n\n# Release build\ncargo build --release\n\n# Or use the provided scripts\n./scripts/build.sh        # Linux/macOS\n./scripts/run.sh          # Linux/macOS (build \u0026 run)\nscripts\\build.ps1         # Windows (PowerShell, detects MSYS2)\nscripts\\build.bat         # Windows (CMD)\nscripts\\run.ps1           # Windows (PowerShell, build \u0026 run)\n```\n\n## Running\n\n```bash\n# Compare two files\nmeld-rs file_a.txt file_b.txt\n\n# Compare two directories\nmeld-rs dir_a/ dir_b/\n\n# 3-way comparison\nmeld-rs left.txt middle.txt right.txt\n\n# 3-way auto-merge\nmeld-rs base.txt local.txt remote.txt --auto-merge -o merged.txt\n\n# Open a new tab in an existing instance\nmeld-rs --newtab file_a.txt file_b.txt\n\n# Auto-compare all differing files in directories\nmeld-rs dir_a/ dir_b/ --auto-compare\n\n# Open version control view for a repository\nmeld-rs /path/to/repo/\n\n# Show help\nmeld-rs --help\n```\n\nWhen running from source without installing:\n\n```bash\ncargo run -- \u003cfile1\u003e \u003cfile2\u003e\n```\n\n## Running Tests\n\nThe `gui` feature is enabled by default, which links against GTK 4 and requires\nthe GTK runtime libraries to be available. To run the diff engine and integration\ntests without GUI dependencies:\n\n```bash\ncargo test --no-default-features\n```\n\nTo also run GUI-related tests (requires GTK 4 runtime installed):\n\n```bash\ncargo test\n```\n\n## License\n\nMeld-rs is licensed under the GNU General Public License v2.0 or later (GPL-2.0-or-later),\nthe same license as the original Meld.\n\nSee [LICENSE](LICENSE) for the full text.\n\n## Contributing\n\nContributions are welcome. Please ensure your code:\n- Passes `cargo fmt` and `cargo clippy`\n- Passes `cargo test --no-default-features`\n- Includes tests for new functionality\n- Follows the [Rust API Guidelines](https://rust-lang.github.io/api-guidelines/)\n\nSee `scripts/test.sh` for a quick test runner.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandochn%2Fmeld-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandochn%2Fmeld-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandochn%2Fmeld-rs/lists"}