diffside

Crates.iodiffside
lib.rsdiffside
version0.1.0
created_at2025-05-06 22:55:29.833241+00
updated_at2025-05-06 22:55:29.833241+00
descriptionA CLI tool for side-by-side file diffs with themed highlighting.
homepage
repositoryhttps://github.com/kaynenotkanye/diffside
max_upload_size
id1663048
size27,657
(kaynenotkanye)

documentation

README

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

Commit count: 2

cargo fmt