§ diff
diff.
Side-by-side input, unified diff output. Useful for comparing log lines, config snippets, output of two test runs — anything where reaching for git or vimdiff is too much ceremony.
- algorithm
- Myers O(ND) diff on lines. inline implementation, no library, ~50 lines.
- scope
- line-level only. for word/char-level you want a fancier UI than this; this trades depth for instant results.