iSapozhnik / TextDiff
PublicmacOS Swift package for token-level text diffs with a display-only SwiftUI/AppKit renderer.
TextDiff is a macOS Swift package that computes differences between two text versions at word or character level and renders them as highlighted, merged views usable in SwiftUI or AppKit.
How It Works
You're building a Mac app and want an easy way to show what changed between old and new text versions.
You discover TextDiff, a handy tool that highlights text differences beautifully.
Simply connect it to your app project so it's ready to use.
Give it the original text and the updated text to compare.
It instantly shows additions in green, removals in red, and keeps unchanged parts clear.
Adjust colors, fonts, and spacing to perfectly fit your app's look.
Now everyone in your app quickly understands edits, making collaboration smooth and fun!
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.