{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"}],"enrichment":{"capability":"Ydiff displays colored, incremental diffs in a terminal with side-by-side or unified formatting, auto-paging support, and no external dependencies beyond Python and less.","skillfed_tags":["diff-viewer","terminal-ui","vcs-integration"],"use_cases":["Review git diffs with color and side-by-side formatting before committing changes.","Examine commit history with inline changes using ydiff -l in a version-controlled workspace.","Pipe arbitrary diffs (from git show, svn diff, or patch files) into ydiff for colored viewing.","Compare two files or directories with unified or side-by-side output and custom text width.","Inspect GitHub pull request diffs by piping curl output directly to ydiff.","Redirect colored diff output to a patch file while preserving formatting."],"what_it_does":"Ydiff is a terminal-based diff viewer that renders diffs with color and formatting, supporting both side-by-side (similar to diff -y) and unified modes. It integrates with version control systems (Git, Mercurial, Perforce, Svn) to display workspace changes, commit logs, or arbitrary diffs piped from stdin. The tool auto-detects terminal width, wraps or truncates lines as configured, and pages output through less or another pager of your choice.\n\nThe package requires only Python built-in libraries and less, making it lightweight and portable. It supports customized color themes via INI configuration files and respects environment variables for default options. Ydiff is designed for developers who want a quick, colored alternative to standard diff output without installing heavy dependencies.","worth_installing":"Yes. Ydiff is a lightweight, actively maintained tool with no external dependencies, permissive licensing, and a clear use case for developers who want colored, formatted diffs in the terminal. Install it if you regularly review diffs and prefer a simpler alternative to full-featured diff tools."},"id":"ydiff","links":{"html":"https://skillfed.io/packages/ydiff","md":"https://skillfed.io/packages/ydiff.md","pypi":"https://pypi.org/project/ydiff/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-06","license_spdx":null,"license_treatment":"permissive","name":"ydiff","python_support":"supports_current","summary":"View colored, incremental diff in a workspace or from stdin, in side-by-side or unified moded, and auto paged."},"popularity":{"monthly_downloads":97643,"position":13138,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.5"}
