awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
banga avatar

banga/git-split-diffs

0
View on GitHub↗
2,737 stars·49 forks·TypeScript·MIT·14 views

Git Split Diffs

Git-split-diffs is a command-line utility that renders version control changes as side-by-side, syntax-highlighted diffs directly within the terminal. It functions as a visualization engine that processes raw output from version control systems to improve the readability of code changes during terminal-based reviews.

The tool distinguishes itself through a responsive layout engine that automatically toggles between dual-pane and unified views based on the available terminal width. It incorporates a regex-based tokenization system to apply language-specific syntax highlighting and supports user-defined color themes to accommodate personal or accessibility preferences.

Beyond standard diff rendering, the tool manages complex version control scenarios, including file renames, binary file detection, and three-way merge conflict visualization. It operates via stream-based processing to handle large outputs efficiently and provides granular configuration options for line wrapping and inline change highlighting.

Features

  • Side-by-Side Diff Viewers - Displays version control changes in a dual-pane terminal layout with syntax highlighting and granular change detection.
  • Git Diff Viewers - Renders side-by-side syntax-highlighted diffs for Git to improve readability of code changes in the terminal.
  • Terminal-Based Code Review - Enables reviewing code changes directly in the command line with clear visual comparisons to speed up development workflows.
  • Version Control Diff Visualization - Displays complex version control changes in a readable side-by-side format to help developers quickly identify additions and deletions.
  • Regex-Based Syntax Highlighting - Parses source code into distinct language elements by matching patterns against predefined grammar rules for accurate color highlighting.
  • Terminal Layout Engines - Automatically adjusts terminal output layout between side-by-side and unified views based on available screen width.
  • Terminal Syntax Highlighters - Colorizes code elements within terminal output based on language-specific rules to improve visual clarity during code reviews.
  • Stream-Based Text Processing - Reads version control output line-by-line to transform raw text into formatted visual blocks without loading entire files into memory.
  • Three-Way Merge Strategies - Handles specialized version control scenarios including file renames, binary file detection, and three-way merge conflict visualization.
  • Terminal Side-by-Side Layouts - Calculates available character columns dynamically to toggle between dual-pane side-by-side views and single-column unified layouts.

Star history

Star history chart for banga/git-split-diffsStar history chart for banga/git-split-diffs

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Git Split Diffs

Similar open-source projects, ranked by how many features they share with Git Split Diffs.
  • jeffkaufman/icdiffjeffkaufman avatar

    jeffkaufman/icdiff

    4,369View on GitHub↗

    icdiff is a command line text analyzer and side-by-side diff tool. It serves as a visual comparison utility that identifies modifications between two text files and renders them in a colored two-column layout within the terminal. The tool functions as a version control diff provider, allowing users to replace default difference engines with a side-by-side format. It utilizes ANSI color codes to highlight character-level changes, providing a visual method for terminal-based code review and text analysis. The system handles difference computation through line-based analysis and dynamic column

    Python
    View on GitHub↗4,369
  • dandavison/deltadandavison avatar

    dandavison/delta

    31,136View on GitHub↗

    Delta is a command-line pager that enhances the readability of terminal output by applying syntax highlighting and structured formatting to text streams. It functions as a specialized interface for version control systems, transforming standard output into color-coded, human-readable views. The tool distinguishes itself through its ability to render side-by-side diff comparisons and visualize merge conflicts with clear, semantic highlighting. It dynamically calculates column widths and text alignment to fit complex file comparisons within the constraints of a terminal window, while allowing u

    Rustcolor-themesdeltadiff
    View on GitHub↗31,136
  • jakubonderka/php-console-highlighterJakubOnderka avatar

    JakubOnderka/PHP-Console-Highlighter

    6,166View on GitHub↗

    PHP-Console-Highlighter is a syntax highlighter and console code formatter designed to apply color-coding to PHP source code for display in terminal environments. It functions as a utility to transform plain PHP text into visually structured code for command line interfaces. The tool enables terminal-based code review and provides formatted output for PHP static analysis tools and command line applications. It uses regex-based tokenization and ANSI sequence color mapping to translate syntax tokens into colored text.

    PHP
    View on GitHub↗6,166
  • rtfpessoa/diff2htmlrtfpessoa avatar

    rtfpessoa/diff2html

    3,321View on GitHub↗

    diff2html is a Git diff visualization library that transforms unified diff text into structured HTML. It serves as a renderer for visualizing code changes in web browsers, providing components to inject stylized diff visualizations and collapsible file lists directly into web page elements. The library enables both side-by-side and line-by-line code comparisons. It includes a syntax highlighting diff viewer that applies language-specific color coding to source code based on file extensions or manual mappings. To maintain alignment during reviews, the project implements synchronized scrolling

    TypeScriptcolorizeddiffdiff2html
    View on GitHub↗3,321
See all 30 alternatives to Git Split Diffs→

Curated searches featuring Git Split Diffs

Hand-picked collections where Git Split Diffs appears.
  • Version control extensions

Frequently asked questions

What does banga/git-split-diffs do?

Git-split-diffs is a command-line utility that renders version control changes as side-by-side, syntax-highlighted diffs directly within the terminal. It functions as a visualization engine that processes raw output from version control systems to improve the readability of code changes during terminal-based reviews.

What are the main features of banga/git-split-diffs?

The main features of banga/git-split-diffs are: Side-by-Side Diff Viewers, Git Diff Viewers, Terminal-Based Code Review, Version Control Diff Visualization, Regex-Based Syntax Highlighting, Terminal Layout Engines, Terminal Syntax Highlighters, Stream-Based Text Processing.

What are some open-source alternatives to banga/git-split-diffs?

Open-source alternatives to banga/git-split-diffs include: jeffkaufman/icdiff — icdiff is a command line text analyzer and side-by-side diff tool. It serves as a visual comparison utility that… dandavison/delta — Delta is a command-line pager that enhances the readability of terminal output by applying syntax highlighting and… jakubonderka/php-console-highlighter — PHP-Console-Highlighter is a syntax highlighter and console code formatter designed to apply color-coding to PHP… rtfpessoa/diff2html — diff2html is a Git diff visualization library that transforms unified diff text into structured HTML. It serves as a… powershell/psreadline — PSReadLine is a command line editor, completion engine, history manager, and syntax highlighter for the PowerShell… charmbracelet/lipgloss — This project is a framework for composing terminal interfaces through declarative styling and a grid-based layout…