diffside 0.1.0

A CLI tool for side-by-side file diffs with themed highlighting.
diffside-0.1.0 is not a library.

diffside

๐Ÿง  A side-by-side CLI diff tool with word-level coloring, Dracula theme, and scrollable paging.

diffside is a command-line utility written in Rust that compares two text files and shows their differences in a clean, side-by-side format. It highlights word-level changes with background colors and includes paging support for viewing large files easily.


โœจ Features

  • ๐ŸŸฅ๐ŸŸฉ Word-level diff highlighting
  • ๐Ÿ“œ Side-by-side comparison with aligned line numbers
  • ๐ŸŽจ Built-in Dracula theme (no config needed)
  • ๐Ÿ“ Automatic line wrapping and alignment
  • ๐Ÿ”ฝ Paging support using less -R
  • โœ… "No differences found" detection

๐Ÿš€ Installation

Once published to crates.io:

cargo install diffside

๐Ÿงช Example

Compare two files:

diffside file1.txt file2.txt

Disable pager (for piping or scripting):

diffside file1.txt file2.txt --no-pager

โœ… No Diffs Case

When the files are identical, you'll see:

โœ… No differences found between 'file1.txt' and 'file2.txt'.

๐Ÿ“„ License

MIT ยฉ 2025 Kayne Amornvivat