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:
๐งช Example
Compare two files:
Disable pager (for piping or scripting):
โ 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